summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-11-05 19:43:37 +0000
committerelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-11-05 19:43:37 +0000
commit8a194ee0fd36b83b89e4fdaf85edf120999c5538 (patch)
tree700d08222a632b92c9ecd1820d5b87f4a8357caf /include
parent80caa7b91cbd2bde705caac649b36d7c685c4793 (diff)
downloadATCD-8a194ee0fd36b83b89e4fdaf85edf120999c5538.tar.gz
ChangeLogTag: Mon Nov 5 13:31:15 2001 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_hpux_aCC.GNU11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/makeinclude/platform_hpux_aCC.GNU b/include/makeinclude/platform_hpux_aCC.GNU
index dc851267a40..7048896e0e9 100644
--- a/include/makeinclude/platform_hpux_aCC.GNU
+++ b/include/makeinclude/platform_hpux_aCC.GNU
@@ -133,7 +133,12 @@ ifeq ($(buildbits),32)
CCFLAGS += +DA1.1 +DS1.1
else
ifeq ($(buildbits),64)
-CCFLAGS += +DA2.0 +DS2.0
+ ifeq ($(word 2,$(HPVERS_WORDS)), 11)
+ ## Without the W, it isn't really a 64-bit build
+ CCFLAGS += +DA2.0W +DS2.0W
+ else
+ CCFLAGS += +DA2.0 +DS2.0
+ endif
LDFLAGS += -Wl,+vnocompatwarnings
else
CCFLAGS += +DAportable
@@ -148,7 +153,9 @@ ifeq ($(word 2,$(HPVERS_WORDS)), 11)
#11.x:
ifeq ($(threads),1)
-LIBS += -lxti -lpthread -lrt -ldld
+## -L./ must directly preceed the system libraries for 64-bit builds
+## with aCC 3.27. Without this change, libpthread.sl can not be found.
+LIBS += -L./ -lxti -lpthread -lrt -ldld
else
LIBS += -lxti -lrt -ldld
endif