summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_hpux_gcc.GNU
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-22 00:38:01 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-22 00:38:01 +0000
commitb594dffb1f3f3ace614c4961ef5673de75951bb6 (patch)
tree9dd5ae3081d2ecfc279f84d883bd0bc7a50521a5 /include/makeinclude/platform_hpux_gcc.GNU
parentfcc2f59539e74920206c62bc5a342a12d742ab3c (diff)
downloadATCD-b594dffb1f3f3ace614c4961ef5673de75951bb6.tar.gz
moved -O out of wrapper_macros.GNU and into each platform file to support "optimize" flag
Diffstat (limited to 'include/makeinclude/platform_hpux_gcc.GNU')
-rw-r--r--include/makeinclude/platform_hpux_gcc.GNU4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/makeinclude/platform_hpux_gcc.GNU b/include/makeinclude/platform_hpux_gcc.GNU
index 5a395c8341a..4c184ecbed3 100644
--- a/include/makeinclude/platform_hpux_gcc.GNU
+++ b/include/makeinclude/platform_hpux_gcc.GNU
@@ -2,6 +2,7 @@
#
debug = 1
+optimize = 1
# First, extract the OS version number.
HPVERS_WORDS := $(subst ., ,$(shell uname -r))
@@ -9,11 +10,12 @@ HPUX_VERS := $(join $(word 2,$(HPVERS_WORDS)),$(word 3,$(HPVERS_WORDS)))
#
CC = gcc
CXX = g++
-CFLAGS += -w -O2
+CFLAGS += -w
CCFLAGS += $(CFLAGS) -fno-implicit-templates
DCFLAGS += -g -DHPUX_VERS=$(HPUX_VERS)
DLD = $(CXX)
LD = $(CXX)
+OCFLAGS += -O2
PIC = -fPIC
ARFLAGS = ruv
RANLIB = echo