summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_chorus.GNU
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-11-24 15:53:45 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-11-24 15:53:45 +0000
commit309845123ab701eb4d994483d42151f185db4e19 (patch)
tree14e671b20393106c7e19219f5d549e23131f0dfb /include/makeinclude/platform_chorus.GNU
parent097c693726179f1c1f2b0489de36b65bc8917ac5 (diff)
downloadATCD-309845123ab701eb4d994483d42151f185db4e19.tar.gz
added support for exceptions=0/1 make option
Diffstat (limited to 'include/makeinclude/platform_chorus.GNU')
-rw-r--r--include/makeinclude/platform_chorus.GNU8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/makeinclude/platform_chorus.GNU b/include/makeinclude/platform_chorus.GNU
index 440b590366b..aa78c7ace5f 100644
--- a/include/makeinclude/platform_chorus.GNU
+++ b/include/makeinclude/platform_chorus.GNU
@@ -6,6 +6,7 @@ CHORUS = 1
CROSS-COMPILE = 1
debug = 1
+exceptions =
optimize = 1
shared_libs =
static_libs = 1
@@ -35,9 +36,14 @@ CCFLAGS += $(CFLAGS) -fno-implicit-templates \
-nostdinc \
-pipe \
-fno-rtti \
- -fno-exceptions \
-D_POSIX_THREADS \
-D_POSIX_THREAD_SAFE_FUNCTIONS
+
+ifeq ($(exceptions),1)
+else # ! exceptions
+ CCFLAGS += -fno-exceptions
+endif # ! exceptions
+
#DCFLAGS += -gstabs+
INCLDIRS += -I$(INC_DIR)/posix \
-I$(INC_DIR)/stdc \