diff options
author | John Crispin <john@openwrt.org> | 2015-07-14 07:43:50 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-07-14 07:43:50 +0000 |
commit | b2739f37d641f613ab3b1d254ca5c68fde587a21 (patch) | |
tree | c8b540fccb9e9fa55393498a7b6601454efcff1e /toolchain/gcc/patches/4.6-linaro/910-mbsd_multi.patch | |
parent | 16fb050055ad792a8dae8db8deb255e22ad3ced2 (diff) | |
download | upstream-b2739f37d641f613ab3b1d254ca5c68fde587a21.tar.gz upstream-b2739f37d641f613ab3b1d254ca5c68fde587a21.tar.bz2 upstream-b2739f37d641f613ab3b1d254ca5c68fde587a21.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>
SVN-Revision: 46355
Diffstat (limited to 'toolchain/gcc/patches/4.6-linaro/910-mbsd_multi.patch')
-rw-r--r-- | toolchain/gcc/patches/4.6-linaro/910-mbsd_multi.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolchain/gcc/patches/4.6-linaro/910-mbsd_multi.patch b/toolchain/gcc/patches/4.6-linaro/910-mbsd_multi.patch index 51bbc7f2bc..32b408aa0e 100644 --- a/toolchain/gcc/patches/4.6-linaro/910-mbsd_multi.patch +++ b/toolchain/gcc/patches/4.6-linaro/910-mbsd_multi.patch @@ -125,7 +125,7 @@ Assume normal C execution environment --- a/gcc/common.opt +++ b/gcc/common.opt -@@ -520,6 +520,10 @@ Werror= +@@ -523,6 +523,10 @@ Werror= Common Joined Treat specified warning as error @@ -136,7 +136,7 @@ Wextra Common Var(extra_warnings) Warning Print extra (possibly unwanted) warnings -@@ -1156,6 +1160,9 @@ fguess-branch-probability +@@ -1159,6 +1163,9 @@ fguess-branch-probability Common Report Var(flag_guess_branch_prob) Optimization Enable guessing of branch probabilities @@ -232,7 +232,7 @@ @item -Wstack-protector @opindex Wstack-protector @opindex Wno-stack-protector -@@ -6317,7 +6333,7 @@ so, the first branch is redirected to ei +@@ -6322,7 +6338,7 @@ so, the first branch is redirected to ei second branch or a point immediately following it, depending on whether the condition is known to be true or false. |