summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_chorus.GNU
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-22 00:38:01 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-22 00:38:01 +0000
commitb594dffb1f3f3ace614c4961ef5673de75951bb6 (patch)
tree9dd5ae3081d2ecfc279f84d883bd0bc7a50521a5 /include/makeinclude/platform_chorus.GNU
parentfcc2f59539e74920206c62bc5a342a12d742ab3c (diff)
downloadATCD-b594dffb1f3f3ace614c4961ef5673de75951bb6.tar.gz
moved -O out of wrapper_macros.GNU and into each platform file to support "optimize" flag
Diffstat (limited to 'include/makeinclude/platform_chorus.GNU')
-rw-r--r--include/makeinclude/platform_chorus.GNU4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/makeinclude/platform_chorus.GNU b/include/makeinclude/platform_chorus.GNU
index 65af9a57eb0..039a7d3e2a0 100644
--- a/include/makeinclude/platform_chorus.GNU
+++ b/include/makeinclude/platform_chorus.GNU
@@ -3,6 +3,7 @@
# Chorus 3.1b with GNU g++ 2.7.2
debug = 1
+optimize = 1
include $(CLASSIXDIR)/dtool/htgt-cf.rf
INC_DIR = $(CLASSIXDIR)/include
@@ -11,7 +12,7 @@ LIB_DIR = $(CLASSIXDIR)/lib
#CC = gcc
#CXX = g++
CXX = $(CC)
-CFLAGS += -w -O2
+CFLAGS += -w
CCFLAGS += $(CFLAGS) -fno-implicit-templates \
-fno-strict-prototypes \
-nostdinc \
@@ -29,6 +30,7 @@ LDFLAGS += -r -Ur -nostdlib \
-L$(LIB_DIR)/CC \
-L$(LIB_DIR)/classix
#LIBS += -lC -lcx.u
+OCFLAGS += -O2
PIC = -fPIC
#AR = ar
AR = $(XDIR)/bin/ar