summaryrefslogtreecommitdiff
path: root/ACE/include/makeinclude/platform_vxworks6.3.GNU
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
commitf784155365a29f4886d09b91569abcd5fa7c7563 (patch)
tree779b17d99b7c875b62b1ec59b2718938a3b83e12 /ACE/include/makeinclude/platform_vxworks6.3.GNU
parent041bc7c4dfc078edb6e56fbfbc42bc4eae060862 (diff)
downloadATCD-f784155365a29f4886d09b91569abcd5fa7c7563.tar.gz
Thu Mar 8 12:57:32 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/include/makeinclude/platform_vxworks6.3.GNU')
-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)