We do not need to add /usr/local to CPPFLAGS; if configure managed to pass then

the dependencies must already be in the search path. Reported by Romain Naour.
This commit is contained in:
Nicholas Marriott 2015-01-12 22:46:01 +00:00
parent daea0e4fff
commit a9644c1f8b

View File

@ -36,12 +36,12 @@ CFLAGS += -Wdeclaration-after-statement
CPPFLAGS += -DDEBUG CPPFLAGS += -DDEBUG
endif endif
if IS_GCC4 if IS_GCC4
CPPFLAGS += -iquote. -I/usr/local/include CPPFLAGS += -iquote.
if IS_DEBUG if IS_DEBUG
CFLAGS += -Wno-pointer-sign CFLAGS += -Wno-pointer-sign
endif endif
else else
CPPFLAGS += -I. -I- -I/usr/local/include CPPFLAGS += -I. -I-
endif endif
endif endif