mirror of
https://github.com/tmux/tmux.git
synced 2024-12-24 10:08:48 +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
|
||||
endif
|
||||
if IS_GCC4
|
||||
CPPFLAGS += -iquote. -I/usr/local/include
|
||||
CPPFLAGS += -iquote.
|
||||
if IS_DEBUG
|
||||
CFLAGS += -Wno-pointer-sign
|
||||
endif
|
||||
else
|
||||
CPPFLAGS += -I. -I- -I/usr/local/include
|
||||
CPPFLAGS += -I. -I-
|
||||
endif
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user