binutils: fix build with host gcc < 4.9
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 2 Apr 2017 15:40:43 +0000 (17:40 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 24 May 2017 16:05:18 +0000 (18:05 +0200)
commitd1a0fc3ec8e5323e95bec8db581bc7758aed783f
treed23e270f95839c9b8fa980bacdadd6fa194eefe2
parentd179aa87698d18ca18cda11425229328822c7f06
binutils: fix build with host gcc < 4.9

binutils 2.27 checks if the target compiler supports -Wstack-
usage=262144, and also uses this setting for the host compiler. If the
host compiler is gcc < 4.9 binutils build will fail. This backports 2
commits which are fixing this problem for binutils 2.28.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/devel/binutils/patches/0001-Do-not-pass-host-compiler-sanitization-flags-on-to-l.patch [new file with mode: 0644]
package/devel/binutils/patches/0002-When-building-target-binaries-ensure-that-the-warnin.patch [new file with mode: 0644]