mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 19:33:59 +08:00
mksysinfo: Pass -O to compiler to avoid warnings on CentOS.
From Uros Bizjak. https://gcc.gnu.org/ml/gcc-patches/2014-12/msg01366.html From-SVN: r218819
This commit is contained in:
parent
239711f6af
commit
658b028ad0
@ -1812,7 +1812,7 @@ s-syscall_arch: Makefile
|
||||
|
||||
sysinfo.go: s-sysinfo; @true
|
||||
s-sysinfo: $(srcdir)/mksysinfo.sh config.h
|
||||
CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(OSCFLAGS)" $(SHELL) $(srcdir)/mksysinfo.sh
|
||||
CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(OSCFLAGS) -O" $(SHELL) $(srcdir)/mksysinfo.sh
|
||||
$(SHELL) $(srcdir)/mvifdiff.sh tmp-sysinfo.go sysinfo.go
|
||||
$(STAMP) $@
|
||||
|
||||
|
@ -4421,7 +4421,7 @@ s-syscall_arch: Makefile
|
||||
|
||||
sysinfo.go: s-sysinfo; @true
|
||||
s-sysinfo: $(srcdir)/mksysinfo.sh config.h
|
||||
CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(OSCFLAGS)" $(SHELL) $(srcdir)/mksysinfo.sh
|
||||
CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(OSCFLAGS) -O" $(SHELL) $(srcdir)/mksysinfo.sh
|
||||
$(SHELL) $(srcdir)/mvifdiff.sh tmp-sysinfo.go sysinfo.go
|
||||
$(STAMP) $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user