summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-01-27 19:48:18 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-01-27 19:48:18 +0000
commit45b072c59226e4f622e8a2a2b144b47baae809cc (patch)
treebb6e97fe15390e1aea76ea504ff3fbf17708243d /include
parent575b184ce87d6ca0b59bb5205e519f514a7bf475 (diff)
downloadATCD-45b072c59226e4f622e8a2a2b144b47baae809cc.tar.gz
use double double quotes around COMPILE argument to ace_ld,
but only on WIN32 hosts.
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_vxworks5.x_g++.GNU9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/makeinclude/platform_vxworks5.x_g++.GNU b/include/makeinclude/platform_vxworks5.x_g++.GNU
index 747c8afecda..acaf8cb4197 100644
--- a/include/makeinclude/platform_vxworks5.x_g++.GNU
+++ b/include/makeinclude/platform_vxworks5.x_g++.GNU
@@ -40,6 +40,13 @@ endif # PATH
PERL_PATH = perl
+ifeq (win32,$(findstring win32,$(WIND_HOST_TYPE)))
+ #### GNU make on WIN32 needs double double quotes.
+ ACE_QUOTE =""
+else # ! win32 host
+ ACE_QUOTE ="
+endif # ! win32 host
+
#### BEGIN target CPU-specific settings
#### This is kind of messy so that it can support multiple
@@ -94,7 +101,7 @@ CCFLAGS += $(CFLAGS) #### -fno-implicit-templates
DCFLAGS += -g
INCLDIRS += -I$(WIND_BASE)/target/h
LD = $(PERL_PATH) $(ACE_ROOT)/bin/ace_ld -c \
- "$(COMPILE.c) -traditional" \
+ $(ACE_QUOTE)$(COMPILE.c) -traditional$(ACE_QUOTE) \
-m "munch" -n "nm$(TOOLENV)" ld$(TOOLENV)
LDFLAGS += -X -r
#### WindRiver only recommends -O, not -O2, with some CPUs, including