OSDN Git Service

libgo: Pass compiler flags to mksysinfo.sh.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Feb 2011 02:00:32 +0000 (02:00 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Feb 2011 02:00:32 +0000 (02:00 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169848 138bc75d-0d04-0410-961f-82ee72b054a4

libgo/Makefile.am
libgo/Makefile.in

index b6beb1e..05fa5db 100644 (file)
@@ -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) $@
 
index 729c6e2..e0e12a6 100644 (file)
@@ -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) $@