diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/makeinclude/platform_sunos5_g++.GNU | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/makeinclude/platform_sunos5_g++.GNU b/include/makeinclude/platform_sunos5_g++.GNU index 025b35083bf..fdb837f3e3b 100644 --- a/include/makeinclude/platform_sunos5_g++.GNU +++ b/include/makeinclude/platform_sunos5_g++.GNU @@ -24,6 +24,13 @@ ifeq ($(threads),0) CFLAGS += -DACE_MT_SAFE=0 endif # threads +ifeq (,$(exceptions)) + exceptions = 0 +endif +ifeq ($(exceptions),0) + CFLAGS += -fno-exceptions +endif # exceptions + ifeq ($(shell /bin/uname -m),i86pc) #### gcc on Solaris86 doesn't use -g DCFLAGS += -gstabs+ |