summaryrefslogtreecommitdiff
path: root/sal/rtl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-11-22 11:01:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2011-11-22 11:01:06 +0100
commit171855c21eeedca46fe0cf2ce4f566957e618a45 (patch)
tree90a2e58b6621d26003a5dd94907b15e45c3f02a4 /sal/rtl
parent70a6b9ffbd676a1384433a86205d2cd4f2d4f4b1 (diff)
rtlbootstrap.mk.cxx needs to be a C++ file (including C++ macros.hxx).
Diffstat (limited to 'sal/rtl')
-rw-r--r--sal/rtl/source/makefile.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/rtl/source/makefile.mk b/sal/rtl/source/makefile.mk
index 07c36d38ed7e..ff8ee9142e5b 100644
--- a/sal/rtl/source/makefile.mk
+++ b/sal/rtl/source/makefile.mk
@@ -159,5 +159,5 @@ $(ALWAYSDBGFILES):
ALLTAR : $(BOOTSTRAPMK)
$(BOOTSTRAPMK) :
- (echo '#include "macro.hxx"'; echo RTL_OS:=THIS_OS; echo RTL_ARCH:=THIS_ARCH) >$(BOOTSTRAPMK).c
- $(CC) -E $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(BOOTSTRAPMK).c | $(GREP) '^RTL_' | $(SED) -e 's/"//g' >$@
+ (echo '#include "macro.hxx"'; echo RTL_OS:=THIS_OS; echo RTL_ARCH:=THIS_ARCH) >$(BOOTSTRAPMK).cxx
+ $(CXX) -E $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(BOOTSTRAPMK).cxx | $(GREP) '^RTL_' | $(SED) -e 's/"//g' >$@