summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1998-08-17 22:24:02 +0000
committerSteve Huston <shuston@riverace.com>1998-08-17 22:24:02 +0000
commita2e71fc2801ace6f31f9a4f8405ed6cf09097c2e (patch)
treef6f483da91fe5102eea6ae32d1e0ff0657889661
parent272802e4b7658d05de843cab9e22bfb326efa053 (diff)
downloadATCD-a2e71fc2801ace6f31f9a4f8405ed6cf09097c2e.tar.gz
Added +302 to warning suppression; changed LIBS= to LIBS +=
-rw-r--r--include/makeinclude/platform_hpux_aCC.GNU7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/makeinclude/platform_hpux_aCC.GNU b/include/makeinclude/platform_hpux_aCC.GNU
index eb5d36027b9..f6f6454c1be 100644
--- a/include/makeinclude/platform_hpux_aCC.GNU
+++ b/include/makeinclude/platform_hpux_aCC.GNU
@@ -21,7 +21,8 @@ HPUX_VERS := $(join $(word 2,$(HPVERS_WORDS)),$(word 3,$(HPVERS_WORDS)))
#
CC = /bin/cc
CXX = /opt/aCC/bin/aCC
-# Suppres warning 829 (string literal to char * is deprecated)
+# Suppress warning 829 (string literal to char * is deprecated)
+# Suppress warning 302 ((...) parameter list is a non-portable feature)
CCFLAGS += $(CFLAGS) -D_THREAD_SAFE -D_REENTRANT -DHPUX_VERS=$(HPUX_VERS) +W829,302
DCFLAGS += -g
DLD = $(CXX) $(CCFLAGS)
@@ -39,7 +40,7 @@ SOEXT = sl
# on. If on HP-UX 10.x and not using DCE threads, remove -lcma.
#
ifeq ($(word 2,$(HPVERS_WORDS)), 11)
-LIBS = -lxti -lpthread -lrt -ldld
+LIBS += -lxti -lpthread -lrt -ldld
else
-LIBS = -lxti -ldld -lcma
+LIBS += -lxti -ldld -lcma
endif