summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-04-21 18:15:59 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-04-21 18:15:59 +0000
commit5b6946654568e29937b6f21b095263027c72daaa (patch)
tree7fb2019095809fb7293b2771c25889e8898a6998 /include
parentb56286f3bf788a9b72d04b63fd7836d359224e4b (diff)
downloadATCD-5b6946654568e29937b6f21b095263027c72daaa.tar.gz
ChangeLogTag: Thu Apr 21 18:15:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_sunos5_g++.GNU24
1 files changed, 6 insertions, 18 deletions
diff --git a/include/makeinclude/platform_sunos5_g++.GNU b/include/makeinclude/platform_sunos5_g++.GNU
index c26fa32d065..06291eeba06 100644
--- a/include/makeinclude/platform_sunos5_g++.GNU
+++ b/include/makeinclude/platform_sunos5_g++.GNU
@@ -12,25 +12,15 @@
# NOTE: On Solaris86, you'll need to use GNU as instead of /usr/ccs/bin/as,
# if you want -gstabs+ and -pipe support.
-ifeq (,$(debug))
- debug = 1
-endif
-ifeq (,$(optimize))
- optimize = 1
-endif
-ifeq (,$(threads))
- threads = 1
-endif
+debug ?= 1
+optimize ?= 1
+threads ?= 1
+exceptions ?= 1
+pipes ?= 1
-ifeq (,$(exceptions))
-exceptions = 0
-endif
-# if we are not working with old gcc ...
-ifeq ($(ACE_HAS_GNUG_PRE_2_8),0)
ifeq ($(exceptions),0)
-CFLAGS += -fno-exceptions
+ CFLAGS += -fno-exceptions
endif # exceptions
-endif # ! ACE_HAS_GNUG_PRE_2_8
ifeq ($(shell /bin/uname -m),i86pc)
#### gcc on Solaris86 doesn't use -g
@@ -39,8 +29,6 @@ else # ! i86pc
DCFLAGS += -g
endif # ! i86pc
-pipes ?= 1
-
CC = gcc
CXX = g++
CFLAGS += -W -Wall -Wpointer-arith #### -Winline