diff options
Diffstat (limited to 'include/makeinclude/platform_vxworks5.5.x.GNU')
-rw-r--r-- | include/makeinclude/platform_vxworks5.5.x.GNU | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/include/makeinclude/platform_vxworks5.5.x.GNU b/include/makeinclude/platform_vxworks5.5.x.GNU index 7d3dbf5bd9e..aa660e49100 100644 --- a/include/makeinclude/platform_vxworks5.5.x.GNU +++ b/include/makeinclude/platform_vxworks5.5.x.GNU @@ -85,6 +85,7 @@ ifeq ("$(TOOL)","gnu") endif PRJ_TYPE = vxApp +TARGET_DIR = $(WIND_BASE)/target/h TGT_DIR = $(WIND_BASE)/target ifeq ($(CPU),) @@ -94,6 +95,10 @@ else override CPU := $(CPU) endif +ifeq ($(findstring PPC, $(CPU)), PPC) + CCFLAGS += -mlongcall +endif + ifeq ($(shared_libs),1) SHARED_LIBS = 1 endif @@ -139,11 +144,10 @@ ifneq ($(VX_LIB_BUILD),1) endif endif -include $(TGT_DIR)/h/make/defs.default -##include $(TGT_DIR)/h/make/defs.link -include $(TGT_DIR)/h/make/defs.$(WIND_HOST_TYPE) -include $(TGT_DIR)/h/make/defs.$(PRJ_TYPE) -include $(TGT_DIR)/h/tool/$(TOOL_FAMILY)/make.$(CPU)$(TOOL) +include $(TARGET_DIR)/make/defs.default +include $(TARGET_DIR)/make/defs.$(WIND_HOST_TYPE) +include $(TARGET_DIR)/make/defs.$(PRJ_TYPE) +include $(TARGET_DIR)/tool/$(TOOL_FAMILY)/make.$(CPU)$(TOOL) ## make sure we don't use that stupid, crippled vxrm.bat script. override RM=rm -f @@ -226,6 +230,7 @@ else endif else ifeq ("$(TOOL)","gnu") +C++FLAGS += -ftemplate-depth-34 ifeq ($(exceptions),1) C++FLAGS += -fexceptions else |