summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2006-01-12 12:59:39 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2006-01-12 12:59:39 +0000
commit34e59276364c352cc8c3704e800ff6c88d2941f0 (patch)
tree950e0cde46a0ed8f047c55a7495a23fea3162ee2
parent655d1ba543d825c708a02e935c2ebdb8b6b29da7 (diff)
downloadATCD-34e59276364c352cc8c3704e800ff6c88d2941f0.tar.gz
ChangeLogTag: Thu Jan 12 12:01:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--include/makeinclude/platform_vxworks6.2.GNU10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/makeinclude/platform_vxworks6.2.GNU b/include/makeinclude/platform_vxworks6.2.GNU
index e17abe2b8c4..f3e8a9bafab 100644
--- a/include/makeinclude/platform_vxworks6.2.GNU
+++ b/include/makeinclude/platform_vxworks6.2.GNU
@@ -302,7 +302,17 @@ endif
CCFLAGS += $(C++FLAGS)
+ifeq (0,$(rtp))
PIC =
+else
+ ifeq ("$(TOOL)","diab")
+ PIC = -Xpic
+ else
+ ifeq ("$(TOOL)","gnu")
+ PIC = -fpic
+ endif
+endif
+endif
ifeq ("$(VXWORKSLINK)","true")