summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/makeinclude/platform_chorus_ghs.GNU5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/makeinclude/platform_chorus_ghs.GNU b/include/makeinclude/platform_chorus_ghs.GNU
index 0c2a78541e6..4d6db930b85 100644
--- a/include/makeinclude/platform_chorus_ghs.GNU
+++ b/include/makeinclude/platform_chorus_ghs.GNU
@@ -28,6 +28,7 @@ CHORUS = 1
CROSS-COMPILE = 1
debug = 1
+exceptions =
optimize = 1
shared_libs =
static_libs = 1
@@ -61,6 +62,10 @@ else
CRTH = $(MVME_DIR)/lib/crt/crth_d.s.o
endif # debug
+ifdef exceptions
+ CCFLAGS += --exceptions
+endif # exceptions
+
POSTLINK = ; $(CC) -groot=$(MVME_DIR)/ -alttools=$(GHS_DIR)/gnuch68 -68040 \
-nostartfiles -nostdlib -e __start -o $@.final \
$(CRTH) $(MVME_DIR)/lib/crt/crt0.o \