summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-03-08 12:57:30 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-03-08 12:57:30 +0000
commitfd4bffe8355031afde9f2af28f4486172a780df1 (patch)
tree779b17d99b7c875b62b1ec59b2718938a3b83e12
parent882456f3e7268994f313fcffc7e724f97b210bbe (diff)
downloadATCD-fd4bffe8355031afde9f2af28f4486172a780df1.tar.gz
Thu Mar 8 12:57:32 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--ACE/include/makeinclude/platform_vxworks6.3.GNU12
1 files changed, 12 insertions, 0 deletions
diff --git a/ACE/include/makeinclude/platform_vxworks6.3.GNU b/ACE/include/makeinclude/platform_vxworks6.3.GNU
index 5f62bf45143..9e530a3f77d 100644
--- a/ACE/include/makeinclude/platform_vxworks6.3.GNU
+++ b/ACE/include/makeinclude/platform_vxworks6.3.GNU
@@ -173,6 +173,18 @@ ifneq ($(VX_LIB_BUILD),1)
endif
endif
+ifeq ($(SHARED_LIBS), 1)
+ifeq ("$(TOOL_FAMILY)","gnu")
+ C++FLAGS += -fpic
+ SOFLAGS += -fpic-shared
+ LDFLAGS += -non-static
+else
+ C++FLAGS += -Xpic
+ SOFLAGS += -Xdynamic
+ LDFLAGS += -Xdynamic
+endif
+endif
+
ifeq ($(rtp),1)
include $(WIND_USR)/make/defs.default
include $(WIND_USR)/tool/$(TOOL_FAMILY)/make.$(CPU)$(TOOL)