mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-26 23:23:55 +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
|
endif
|
||||||
|
|
||||||
ifeq ($(GCC_MAJOR),2)
|
ifeq ($(GCC_MAJOR),2)
|
||||||
LPPFLAGS += -lstdc++ -lm
|
LPPFLAGS += -lstdc++ -lm
|
||||||
DEPEND_CPPFLAGS += -I/usr/include/g++ -I/usr/local/include
|
CFLAGS += -I/usr/local/include
|
||||||
|
CPPFLAGS += -I/usr/local/include
|
||||||
|
DEPEND_CPPFLAGS += -I/usr/include/g++ -I/usr/local/include
|
||||||
else
|
else
|
||||||
LPPFLAGS += -L/usr/local/gcc3.3/lib -lstdc++ -lgcc_s
|
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
|
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