diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2004-10-26 10:55:58 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2004-10-26 10:55:58 +0000 |
commit | 9bc31c4eec854a94ee25644cf8fdaf8e2e8818ab (patch) | |
tree | 7f36a0697fc1b4729edfd550fdfcd55d8a401c87 /include | |
parent | 8334c8755f8c91e694046af0234f4f85af4be450 (diff) | |
download | ATCD-9bc31c4eec854a94ee25644cf8fdaf8e2e8818ab.tar.gz |
ChangeLogTag: Tue Oct 25 10:55;12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl.
Diffstat (limited to 'include')
-rw-r--r-- | include/makeinclude/platform_linux_pgi.GNU | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/makeinclude/platform_linux_pgi.GNU b/include/makeinclude/platform_linux_pgi.GNU index 4e516de6c65..c5d63edc420 100644 --- a/include/makeinclude/platform_linux_pgi.GNU +++ b/include/makeinclude/platform_linux_pgi.GNU @@ -9,7 +9,7 @@ ifndef exceptions exceptions = 1 endif ifeq (,$(debug)) - debug = 1 + debug = 0 endif ifeq (,$(optimize)) optimize = 1 @@ -17,6 +17,9 @@ endif ifeq (,$(threads)) threads = 1 endif +ifeq (,$(static_libs_only)) + static_libs_only=1 +endif PLATFORM_XT_CPPFLAGS= PLATFORM_XT_LIBS=-lXt @@ -49,7 +52,7 @@ PLATFORM_AIO_SUPPORT := \ CC = pgcc CXX = pgCC -CFLAGS += +CFLAGS += --one_instantiation_per_object --prelink_objects -Wc,-tused ifeq ($(threads),1) CPPFLAGS += -D_REENTRANT $(PLATFORM_AIO_SUPPORT) endif # threads @@ -77,8 +80,8 @@ PIC = -fPIC AR = ar ARFLAGS = rsuv RANLIB = @true -SOFLAGS += $(CPPFLAGS) -shared $(PIC) -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<; \ +SOFLAGS += $(CPPFLAGS) -shared $(PIC) --one_instantiation_per_object --prelink_objects +SOBUILD = $(COMPILE.cc) $(PIC) --one_instantiation_per_object --prelink_objects -o $(VSHDIR)$*.so $<; \ $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o PRELIB = @true |