mirror of
https://github.com/tmux/tmux.git
synced 2024-12-25 02:48:47 +00:00
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:
parent
daea0e4fff
commit
a9644c1f8b
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user