summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-12-19 23:55:08 +0200
committerTor Lillqvist <tml@iki.fi>2011-12-20 00:04:21 +0200
commit3584cb1906ee96c11fbd5040bf57538cf0543254 (patch)
tree9d62c164b161342e71eb58a90da3efaaf24d82bc /sal
parentbe45ae39c4712da0079b26fe856a71c608909db5 (diff)
Need gb_CXXFLAGS, too
Diffstat (limited to 'sal')
-rw-r--r--sal/util/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/util/Makefile b/sal/util/Makefile
index 78986f793cb6..ad39b2412f63 100644
--- a/sal/util/Makefile
+++ b/sal/util/Makefile
@@ -33,9 +33,9 @@ all: rtlbootstrap.mk $(if $(filter-out $(COM),MSC),sal/typesizes.h) sal/udkversi
sal:
mkdir sal
-rtlbootstrap.mk:
+rtlbootstrap.mk: sal/typesizes.h
(echo '#include "macro.hxx"'; echo RTL_OS:=THIS_OS; echo RTL_ARCH:=THIS_ARCH) > bootstrap.cxx
- $(CXX) -E $(gb_OSDEFS) -D$(CPUNAME) -I. -I$(SRCDIR)/sal/rtl/source -I$(SRCDIR)/sal/inc bootstrap.cxx | grep '^RTL_' | sed -e 's/"//g' > $@
+ $(CXX) -E $(gb_OSDEFS) $(gb_CXXFLAGS) -D$(CPUNAME) -I. -I$(SRCDIR)/sal/rtl/source -I$(SRCDIR)/sal/inc bootstrap.cxx | grep '^RTL_' | sed -e 's/"//g' > $@
sal/typesizes.h: sal
ifneq ($(CROSS_COMPILING),YES)