diff options
author | Guenter Knauf <fuankg@apache.org> | 2011-03-08 18:17:07 +0000 |
---|---|---|
committer | Guenter Knauf <fuankg@apache.org> | 2011-03-08 18:17:07 +0000 |
commit | 410da19e0dee2676eecf4f7f3b874ee8e9a049b9 (patch) | |
tree | 2880929cfe0cac359a0450bc7f09aa7632f132d7 /build/NWGNUenvironment.inc | |
parent | 77fda02c85a4f4d1a07813bdbf1fd1095adca884 (diff) | |
download | httpd-410da19e0dee2676eecf4f7f3b874ee8e9a049b9.tar.gz |
NetWare build overhaul in order to compile on Linux.
More fixes ...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1079463 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/NWGNUenvironment.inc')
-rw-r--r-- | build/NWGNUenvironment.inc | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/build/NWGNUenvironment.inc b/build/NWGNUenvironment.inc index b9cab4deee..941962c48e 100644 --- a/build/NWGNUenvironment.inc +++ b/build/NWGNUenvironment.inc @@ -209,12 +209,19 @@ CLIB3S = $(METROWERKS)/Novell Support/Metrowerks Support/Libraries/Runtime/mwcrt MATH3S = PLIB3S = $(METROWERKS)/Novell Support/Metrowerks Support/Libraries/MSL C++/MWCPP.lib -# MetroWerks Win32 build flags to create build tool -MWCW_MSL = "$(METROWERKS)/MSL" -MWCW_W32 = "$(METROWERKS)/Win32-x86 Support" -WIN_CFLAGS = -O2 -gccinc -nodefaults -proc 586 -w off -WIN_CFLAGS += -ir $(MWCW_MSL) -ir $(MWCW_W32) -lr $(MWCW_MSL) -lr $(MWCW_W32) -WIN_CFLAGS += -lMSL_All_x86.lib -lkernel32.lib -luser32.lib +ifeq "$(OS)" "Windows_NT" +# MetroWerks Win32 build flags to create build tools +MWCW_MSL = "$(METROWERKS)/MSL" +MWCW_W32 = "$(METROWERKS)/Win32-x86 Support" +HOST_CC = $(WIN_CC) +HOST_CFLAGS = -O2 -gccinc -nodefaults -proc 586 -w off +HOST_CFLAGS += -ir $(MWCW_MSL) -ir $(MWCW_W32) -lr $(MWCW_MSL) -lr $(MWCW_W32) +HOST_CFLAGS += -lMSL_All_x86.lib -lkernel32.lib -luser32.lib +else +# GNUC build flags to create build tools +HOST_CC = gcc +HOST_CFLAGS = -Wall -O2 +endif # Base compile flags # and prefix or precompiled header added here. |