diff options
author | kitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-04-07 10:33:34 +0000 |
---|---|---|
committer | kitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-04-07 10:33:34 +0000 |
commit | b48b7910f1dab5e59fbc2b57a559818af23f11a1 (patch) | |
tree | cac7ae34fd858eb0964e63d58015084febcdab02 /include/makeinclude/platform_sunos5_ghs.GNU | |
parent | 7cc5c7e8af781f6b2fd5ca1a1d0de66395862935 (diff) | |
download | ATCD-b48b7910f1dab5e59fbc2b57a559818af23f11a1.tar.gz |
ChangeLogTag: Sun Apr 7 05:27:35 2002 Krishnakumar B <kitty@cs.wustl.edu>
Diffstat (limited to 'include/makeinclude/platform_sunos5_ghs.GNU')
-rw-r--r-- | include/makeinclude/platform_sunos5_ghs.GNU | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/include/makeinclude/platform_sunos5_ghs.GNU b/include/makeinclude/platform_sunos5_ghs.GNU index 8933d0fc199..155e2b78af9 100644 --- a/include/makeinclude/platform_sunos5_ghs.GNU +++ b/include/makeinclude/platform_sunos5_ghs.GNU @@ -7,13 +7,26 @@ exceptions = 0 optimize = 1 threads = 1 +# I(kitty) don't know anything about this compiler. Making it explicit. +# +templates = "explicit" + +# Turn on the proper flags for explicit template instantiation. +# +ifeq ("$(templates)","explicit") + ifeq ($(TEMPLATES_FLAG),) # Turn on flags if none is speficied. + TEMPLATES_FLAG=-tnone + endif + CPPFLAGS += -DACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION + LDFLAGS += --no_auto_instantiation +endif + CC = gcx CXX = $(CC) -CCFLAGS += $(CFLAGS) --no_rtti -tnone +CCFLAGS += $(CFLAGS) --no_rtti $(TEMPLATES_FLAG) DCFLAGS += -g DLD = $(CXX) LD = $(CXX) -LDFLAGS = --no_auto_instantiation LIBS += -lsocket -ldl -lgen -lnsl -lposix4 OCFLAGS += -OL -OM PIC = -PIC |