mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk: Add '-I/usr/local/include' to CFLAGS and CPPFLAGS when using gcc 2.x
This commit is contained in:
parent
1f2f05c520
commit
b3f91844ba
1 changed files with 4 additions and 2 deletions
|
|
@ -208,8 +208,10 @@ LDFLAGS += -L/usr/X11/lib -lXext -lX11
|
|||
endif
|
||||
|
||||
ifeq ($(GCC_MAJOR),2)
|
||||
LPPFLAGS += -lstdc++ -lm
|
||||
DEPEND_CPPFLAGS += -I/usr/include/g++ -I/usr/local/include
|
||||
LPPFLAGS += -lstdc++ -lm
|
||||
CFLAGS += -I/usr/local/include
|
||||
CPPFLAGS += -I/usr/local/include
|
||||
DEPEND_CPPFLAGS += -I/usr/include/g++ -I/usr/local/include
|
||||
else
|
||||
LPPFLAGS += -L/usr/local/gcc3.3/lib -lstdc++ -lgcc_s
|
||||
DEPEND_CPPFLAGS += -I/usr/local/gcc3.3/include/c++/3.3 -I/usr/local/gcc3.3/include/c++/3.3/i686-pc-linux-gnu -I/usr/local/include
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue