Mercurial > gub
changeset 6258:183550639510
Fix linux-x86::glibc-core (glibc-2.3) build by gcc-4.8.2
suppress warning
author | Masamichi Hosoda <trueroad@users.noreply.github.com> |
---|---|
date | Sat, 25 Oct 2014 23:15:55 +0900 |
parents | 394056adc980 |
children | 1a2d0163e88a |
files | gub/specs/glibc.py patches/glibc-2.3-sysdeps-i386-Makefile.patch |
diffstat | 2 files changed, 16 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/glibc.py Sat Oct 25 23:05:03 2014 +0900 +++ b/gub/specs/glibc.py Sat Oct 25 23:15:55 2014 +0900 @@ -51,6 +51,7 @@ 'glibc-2.3-binutils-2.19-i386.patch', 'glibc-2.3-binutils-version-check.patch', 'glibc-2.3-sysdeps-general-initfini.patch', + 'glibc-2.3-sysdeps-i386-Makefile.patch', ] dependencies = ['cross/gcc', 'glibc-core', 'tools::bison', 'tools::gzip', 'tools::perl', 'linux-headers'] configure_flags = (target.AutoBuild.configure_flags + misc.join_lines ('''
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc-2.3-sysdeps-i386-Makefile.patch Sat Oct 25 23:15:55 2014 +0900 @@ -0,0 +1,15 @@ +Fix linux-x86::glibc-core (glibc-2.3) build by gcc-4.8.2 + +suppress warning + +--- glibc-core-2.3/sysdeps/i386/Makefile.org 2014-10-25 20:09:47.046611800 +0900 ++++ glibc-core-2.3/sysdeps/i386/Makefile 2014-10-25 20:10:27.670611800 +0900 +@@ -8,7 +8,7 @@ + ifeq ($(subdir),csu) + # On i686 we must avoid generating the trampoline functions generated + # to get the GOT pointer. +-CFLAGS-initfini.s += -march=i386 -mcpu=i386 ++CFLAGS-initfini.s += -march=i386 -mtune=i386 + endif + + ifeq ($(subdir),gmon)