Skip to content

Commit

Permalink
dev-libs/dietlibc: use tc-enables-pie instead of gcc-specs-pie
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.2
  • Loading branch information
tamiko committed Jun 16, 2017
1 parent b07e573 commit 50369f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dev-libs/dietlibc/dietlibc-0.33_pre20110403.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="3"
Expand Down Expand Up @@ -41,7 +41,7 @@ pkg_setup() {
-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() {
Expand Down
2 changes: 1 addition & 1 deletion dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ src_prepare() {
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
Expand Down

0 comments on commit 50369f6

Please sign in to comment.