aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2011-02-05 02:00:32 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-02-05 02:00:32 +0000
commitee6bde766a789d2e2b9f70151d18a66e65793490 (patch)
treefed4b0b9bad796cfd2d11d956d98138bf5787b90
parenta130584a8a599dcf1012930d93674aa31e5e2c67 (diff)
downloadgcc-ee6bde766a789d2e2b9f70151d18a66e65793490.zip
gcc-ee6bde766a789d2e2b9f70151d18a66e65793490.tar.gz
gcc-ee6bde766a789d2e2b9f70151d18a66e65793490.tar.bz2
libgo: Pass compiler flags to mksysinfo.sh.
From-SVN: r169848
-rw-r--r--libgo/Makefile.am2
-rw-r--r--libgo/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am
index b6beb1e..05fa5db 100644
--- a/libgo/Makefile.am
+++ b/libgo/Makefile.am
@@ -2608,7 +2608,7 @@ testing/script/check: $(CHECK_DEPS)
sysinfo.go: s-sysinfo; @true
s-sysinfo: $(srcdir)/mksysinfo.sh config.h
- CC="$(CC)" $(SHELL) $(srcdir)/mksysinfo.sh
+ CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS)" $(SHELL) $(srcdir)/mksysinfo.sh
$(SHELL) $(srcdir)/../move-if-change tmp-sysinfo.go sysinfo.go
$(STAMP) $@
diff --git a/libgo/Makefile.in b/libgo/Makefile.in
index 729c6e2..e0e12a6 100644
--- a/libgo/Makefile.in
+++ b/libgo/Makefile.in
@@ -4992,7 +4992,7 @@ testing/script/check: $(CHECK_DEPS)
sysinfo.go: s-sysinfo; @true
s-sysinfo: $(srcdir)/mksysinfo.sh config.h
- CC="$(CC)" $(SHELL) $(srcdir)/mksysinfo.sh
+ CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS)" $(SHELL) $(srcdir)/mksysinfo.sh
$(SHELL) $(srcdir)/../move-if-change tmp-sysinfo.go sysinfo.go
$(STAMP) $@