diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-12-23 22:37:37 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-12-23 22:37:37 +0000 |
commit | 86dec12080cf02b3691cccba9e8b64aef80f342d (patch) | |
tree | a1871a67a0f3c78b1590c78e4adfebd518d09fdc /include/makeinclude/platform_sunos5_ghs.GNU | |
parent | ecc8e8471bed83c547b5936a200fb2ee7078e489 (diff) | |
download | ATCD-86dec12080cf02b3691cccba9e8b64aef80f342d.tar.gz |
updated so that links work
Diffstat (limited to 'include/makeinclude/platform_sunos5_ghs.GNU')
-rw-r--r-- | include/makeinclude/platform_sunos5_ghs.GNU | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/include/makeinclude/platform_sunos5_ghs.GNU b/include/makeinclude/platform_sunos5_ghs.GNU index b42069f716f..2123be03e8b 100644 --- a/include/makeinclude/platform_sunos5_ghs.GNU +++ b/include/makeinclude/platform_sunos5_ghs.GNU @@ -5,24 +5,20 @@ debug = 1 optimize = 1 threads = 1 +exceptions = ifeq ($(threads),0) CFLAGS += -DACE_MT_SAFE=0 endif # threads -#### CPU type -ifndef CPU - CPU = spc -endif # CPU - -CC = cc$(CPU) +CC = gcx CXX = $(CC) CCFLAGS += $(CFLAGS) --no_rtti -tnone DCFLAGS += -g DLD = $(CXX) LD = $(CXX) LDFLAGS = --no_auto_instantiation -LIBS += -lsocket -ldl -lgen -lnsl -lposix4 -lthread -lw +LIBS += -lsocket -ldl -lgen -lnsl -lposix4 -lthread -lw -lcx OCFLAGS += -OL -OM PIC = -PIC RANLIB = @true @@ -30,3 +26,11 @@ AR = ax ARFLAGS = ruv RANLIB = @true SOFLAGS = -shared + +ifdef exceptions + CCFLAGS += --exceptions + LIBS += -ledge +else # ! exceptions + CCFLAGS += --no_exceptions + LIBS += -ledgnoe +endif # ! exceptions |