summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_vxworks6.2.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude/platform_vxworks6.2.GNU')
-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")