diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-11-24 15:53:45 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-11-24 15:53:45 +0000 |
commit | 4e4a7369062ffce3de35bda756be0a157cee1bdb (patch) | |
tree | 14e671b20393106c7e19219f5d549e23131f0dfb /include/makeinclude/platform_chorus.GNU | |
parent | 9d34fc50d515a2a4895f68b0b3f61d057560112d (diff) | |
download | ATCD-4e4a7369062ffce3de35bda756be0a157cee1bdb.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.GNU | 8 |
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 \ |