binutils: unbreak with _FORTIFY_SOURCE in CPPFLAGS.
_FORTIFY_SOURCE needs an optimization level. From Arch.
This commit is contained in:
parent
ac843776cd
commit
4d555b10f8
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'binutils'
|
# Template file for 'binutils'
|
||||||
pkgname=binutils
|
pkgname=binutils
|
||||||
version=2.25
|
version=2.25
|
||||||
revision=1
|
revision=2
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
short_desc="GNU binary utilities"
|
short_desc="GNU binary utilities"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -16,6 +16,7 @@ fi
|
||||||
makedepends+=" zlib-devel"
|
makedepends+=" zlib-devel"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
|
||||||
# Drop bashism!
|
# Drop bashism!
|
||||||
sed -e 's,source,\.,g' -i ld/scripttempl/elf.sc
|
sed -e 's,source,\.,g' -i ld/scripttempl/elf.sc
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue