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 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'binutils'
|
||||
pkgname=binutils
|
||||
version=2.25
|
||||
revision=1
|
||||
revision=2
|
||||
bootstrap=yes
|
||||
short_desc="GNU binary utilities"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -16,6 +16,7 @@ fi
|
|||
makedepends+=" zlib-devel"
|
||||
|
||||
pre_configure() {
|
||||
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
|
||||
# Drop bashism!
|
||||
sed -e 's,source,\.,g' -i ld/scripttempl/elf.sc
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue