summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_rtems.x_g++.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude/platform_rtems.x_g++.GNU')
-rw-r--r--include/makeinclude/platform_rtems.x_g++.GNU9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/makeinclude/platform_rtems.x_g++.GNU b/include/makeinclude/platform_rtems.x_g++.GNU
index 3b1b36f07c4..df0b0515847 100644
--- a/include/makeinclude/platform_rtems.x_g++.GNU
+++ b/include/makeinclude/platform_rtems.x_g++.GNU
@@ -37,16 +37,16 @@ endif # ! PERL_PATH
#### BEGIN target CPU-specific settings
# look them up
-CFLAGS = $(shell make -f $(ACE_ROOT)/include/makeinclude/Makefile.rtems print_cflags)
-#CCFLAGS = $(shell make -f $(ACE_ROOT)/include/makeinclude/Makefile.rtems print_cflags) -fno-implicit-templates
+CFLAGS = $(shell make --no-print-directory -f $(ACE_ROOT)/include/makeinclude/Makefile.rtems print_cflags)
+#CCFLAGS = $(shell make --no-print-directory -f $(ACE_ROOT)/include/makeinclude/Makefile.rtems print_cflags) -fno-implicit-templates
CCFLAGS = -fno-implicit-templates
#### END target CPU-specific settings
-CXX := $(shell make -f $(ACE_ROOT)/include/makeinclude/Makefile.rtems print_cxx)
+CXX := $(shell make --no-print-directory -f $(ACE_ROOT)/include/makeinclude/Makefile.rtems print_cxx)
ifndef ACE_CC
-ACE_CC := $(shell make -f $(ACE_ROOT)/include/makeinclude/Makefile.rtems print_cc)
+ACE_CC := $(shell make --no-print-directory -f $(ACE_ROOT)/include/makeinclude/Makefile.rtems print_cc)
endif # ! ACE_CC
ifndef ACE_CC_VERSION
ACE_CC_VERSION := $(shell $(ACE_CC) --version)
@@ -83,6 +83,7 @@ LDFLAGS += #-Wl,-X -Wl,-r
OCFLAGS += -O
PIC =
+
#### ld can't handle INCLDIRS, so override LINK definitions.
LINK.c = override
LINK.c.override = $(LD) $(LDFLAGS) $(LDLIBS) $(LIBS)