Package-Manager: Portage-2.3.6, Repoman-2.3.2
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="3"
-Wno-unused -Wredundant-decls -fno-strict-aliasing
# only use -nopie on archs that support it
- gcc-specs-pie && append-flags -nopie
+ tc-enables-pie && append-flags -nopie
}
src_compile() {
append-flags $(test-flags -fno-stack-protector)
# only use -nopie on archs that support it
- gcc-specs-pie && append-flags -nopie
+ tc-enables-pie && append-flags -nopie
sed -i -e 's:strip::' Makefile || die
append-flags -Wa,--noexecstack