diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-27 22:14:25 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-27 22:14:25 +0000 |
commit | 3900997a0971efc350400f62bfcac8c29aa65885 (patch) | |
tree | b61d61a609fe3a7b21da6c2a9715171734e703ad /.Makefile.inc | |
parent | d7ee3683a4d6d76113161be9754c007dee37d288 (diff) |
Buildsystem updates
Add required compilation flags for interix
Fix build when perl is not in /usr/bin
Clean up unused file masks from .gitignore
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11770 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to '.Makefile.inc')
-rw-r--r-- | .Makefile.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.Makefile.inc b/.Makefile.inc index 1889d862d..ef1610ab5 100644 --- a/.Makefile.inc +++ b/.Makefile.inc @@ -41,6 +41,8 @@ INSTMODE = 0755 LDLIBS += -ldl SHARED = -bundle -twolevel_namespace -undefined dynamic_lookup CORELDFLAGS = -dynamic -bind_at_load -L. +@ELSIFEQ $(SYSTEM) interix + CXXFLAGS += -D_ALL_SOURCE -I/usr/local/include @ENDIF @IFDEF D @@ -65,7 +67,7 @@ CXXFLAGS += -Iinclude @ELSE @GNU_ONLY MAKEFLAGS += --silent @BSD_ONLY MAKE += -s - RUNCC = $(SOURCEPATH)/make/run-cc.pl $(CC) + RUNCC = perl $(SOURCEPATH)/make/run-cc.pl $(CC) @ENDIF @DO_EXPORT RUNCC CXXFLAGS CC LDLIBS PICLDFLAGS VERBOSE SOCKETENGINE CORELDFLAGS |