diff options
author | John Crispin <blogic@openwrt.org> | 2015-07-14 07:43:50 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-07-14 07:43:50 +0000 |
commit | c2c5f889574f0f0a93c09aa8502b81d2cb38c1fe (patch) | |
tree | 0266652ff1481d485334902d101d3d94602616fc /toolchain/gcc/patches/4.6-linaro/920-specs_nonfatal_getenv.patch | |
parent | b49590198a29b72726a673a9226ffb1100ffa111 (diff) | |
download | master-187ad058-c2c5f889574f0f0a93c09aa8502b81d2cb38c1fe.tar.gz master-187ad058-c2c5f889574f0f0a93c09aa8502b81d2cb38c1fe.tar.bz2 master-187ad058-c2c5f889574f0f0a93c09aa8502b81d2cb38c1fe.zip |
toolchain: fix gcc 4.6 build with gcc5
build error:
cfns.gperf:101:1: error: 'gnu_inline' attribute present on 'libc_name_p'
cfns.gperf:26:14: error: but not here
observed on Arch Linux
affected versions gcc 4.6, gcc 4.7
reported & fixed in DragonFlyBSD issue #136
https://github.com/DragonFlyBSD/DPorts/issues/136
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46355 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/patches/4.6-linaro/920-specs_nonfatal_getenv.patch')
-rw-r--r-- | toolchain/gcc/patches/4.6-linaro/920-specs_nonfatal_getenv.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/gcc/patches/4.6-linaro/920-specs_nonfatal_getenv.patch b/toolchain/gcc/patches/4.6-linaro/920-specs_nonfatal_getenv.patch index 5055ae898e..0b241faf05 100644 --- a/toolchain/gcc/patches/4.6-linaro/920-specs_nonfatal_getenv.patch +++ b/toolchain/gcc/patches/4.6-linaro/920-specs_nonfatal_getenv.patch @@ -1,6 +1,6 @@ --- a/gcc/gcc.c +++ b/gcc/gcc.c -@@ -7772,7 +7772,10 @@ getenv_spec_function (int argc, const ch +@@ -7830,7 +7830,10 @@ getenv_spec_function (int argc, const ch value = getenv (argv[0]); if (!value) |