libgo patch committed: Pass compiler flags to

Message ID
State New
Headers show

Commit Message

Ian Taylor Feb. 5, 2011, 2 a.m.
This patch to libgo passes the compiler flags to, so that
it knows how to find header files when building a cross-compiler.
Bootstrapped on x86_64-unknown-linux-gnu.  Committed to mainline.



diff -r e07be98abbdd libgo/
--- a/libgo/	Thu Feb 03 16:47:23 2011 -0800
+++ b/libgo/	Fri Feb 04 17:56:17 2011 -0800
@@ -2608,7 +2608,7 @@ 
 sysinfo.go: s-sysinfo; @true
 s-sysinfo: $(srcdir)/ config.h
-	CC="$(CC)" $(SHELL) $(srcdir)/
 	$(SHELL) $(srcdir)/../move-if-change tmp-sysinfo.go sysinfo.go
 	$(STAMP) $@