summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-07-24 15:05:22 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-07-24 15:05:22 +0000
commitd4fccac1bbffe6fdb7fd2ef1877a5fce869ade99 (patch)
treeb03f41c13c16186e650afb2cdfb88da78644b4c7 /include
parentc7a73840d0ee8b65d6cfbbc26b824667a711c1c5 (diff)
downloadATCD-d4fccac1bbffe6fdb7fd2ef1877a5fce869ade99.tar.gz
ChangeLogTag:Thu Jul 24 15:01:59 UTC 2003 Don Hinton <dhinton@dresystems.com>
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_g++_common.GNU4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/makeinclude/platform_g++_common.GNU b/include/makeinclude/platform_g++_common.GNU
index b590c1241f7..ba3f326c55e 100644
--- a/include/makeinclude/platform_g++_common.GNU
+++ b/include/makeinclude/platform_g++_common.GNU
@@ -61,6 +61,8 @@ endif
# Add all symbols to the dynamic symbol table. Needed to enable dynamic_cast
# for shared libraries. (see http://gcc.gnu.org/faq.html#dso)
ifeq ($(shared_libs), 1)
- LDFLAGS += -Wl,-E
+ ifneq ($(static_libs_only), 1)
+ LDFLAGS += -Wl,-E
+ endif # static_libs_only
endif # shared_libs