summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_sunos5_ghs.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude/platform_sunos5_ghs.GNU')
-rw-r--r--include/makeinclude/platform_sunos5_ghs.GNU4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/makeinclude/platform_sunos5_ghs.GNU b/include/makeinclude/platform_sunos5_ghs.GNU
index 8d285c0d54c..8933d0fc199 100644
--- a/include/makeinclude/platform_sunos5_ghs.GNU
+++ b/include/makeinclude/platform_sunos5_ghs.GNU
@@ -3,7 +3,7 @@
# SunOS 5.x (Solaris 2.x) with GreenHills compiler.
debug = 1
-exceptions =
+exceptions = 0
optimize = 1
threads = 1
@@ -31,7 +31,7 @@ else # ! threads
CFLAGS += -DACE_MT_SAFE=0
endif # ! threads
-ifdef exceptions
+ifeq (1,$(exceptions))
CCFLAGS += --exceptions
else # ! exceptions
CCFLAGS += --no_exceptions