Skip to content

Commit

Permalink
x11-drivers/xf86-input-evdev: append -Wl,-z,lazy to LDFLAGS
Browse files Browse the repository at this point in the history
This is a workaround needed for hardened toolchain.
  • Loading branch information
puleglot committed Aug 1, 2018
1 parent 24a5404 commit 8ff357b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7

inherit linux-info
inherit flag-o-matic linux-info

DESCRIPTION="Generic Linux input driver"
HOMEPAGE="https://www.x.org/wiki/ https://cgit.freedesktop.org/"
Expand Down Expand Up @@ -51,6 +51,8 @@ src_prepare() {
}

src_configure() {
append-ldflags -Wl,-z,lazy

local econfargs=(
--disable-selective-werror
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7

inherit linux-info
inherit flag-o-matic linux-info

DESCRIPTION="Generic Linux input driver"
HOMEPAGE="https://www.x.org/wiki/ https://cgit.freedesktop.org/"
Expand Down Expand Up @@ -51,6 +51,8 @@ src_prepare() {
}

src_configure() {
append-ldflags -Wl,-z,lazy

local econfargs=(
--disable-selective-werror
)
Expand Down
4 changes: 3 additions & 1 deletion x11-drivers/xf86-input-evdev/xf86-input-evdev-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7

inherit linux-info
inherit flag-o-matic linux-info

DESCRIPTION="Generic Linux input driver"
HOMEPAGE="https://www.x.org/wiki/ https://cgit.freedesktop.org/"
Expand Down Expand Up @@ -51,6 +51,8 @@ src_prepare() {
}

src_configure() {
append-ldflags -Wl,-z,lazy

local econfargs=(
--disable-selective-werror
)
Expand Down

0 comments on commit 8ff357b

Please sign in to comment.