diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-09-06 22:56:50 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-09-06 22:56:50 +0000 |
commit | f91f1b0d7f213282ae44cbc7bdd6bde28f11dc35 (patch) | |
tree | 3fb7606e3668605715f529f849b75b99d5992cbb /lib | |
parent | add missing dependency on version.h to libdir target to fix parallel build fa... (diff) | |
download | net-tools-f91f1b0d7f213282ae44cbc7bdd6bde28f11dc35.tar.gz net-tools-f91f1b0d7f213282ae44cbc7bdd6bde28f11dc35.tar.bz2 net-tools-f91f1b0d7f213282ae44cbc7bdd6bde28f11dc35.zip |
convert -idirafter to -I
The local include trees no longer need -idirafter semantics, so use the
normal -I flags to avoid random cruft on users' systems. This fixes Gentoo
#283759 where user had local headers named the same as the net-tools local
headers, but the toolchain defaulted to the system paths due to -idirafter.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile index 976ebb8..431f258 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -36,7 +36,7 @@ OBJS = $(sort $(VARIA) $(AFOBJS) $(HWOBJS) \ # This can be overwritten by the TOPLEVEL Makefile TOPDIR=.. -CFLAGS += -I$(TOPDIR) -idirafter $(TOPDIR)/include # -fPIC +CFLAGS += -I$(TOPDIR) -I$(TOPDIR)/include # -fPIC SONAME=libnet-tools.so.0 .SUFFIXES: .a .so |