mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
sys-boot/gnu-efi: sanitize LDFLAGS
gnu-efi calls ld directly, so use raw LDFLAGS when built with custom-cflags. Closes: https://bugs.gentoo.org/967774 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
parent
f719225195
commit
2ffd0ee3f6
@ -118,7 +118,9 @@ efimake() {
|
||||
src_compile() {
|
||||
tc-export BUILD_CC AR AS CC LD OBJCOPY
|
||||
|
||||
if ! use custom-cflags; then
|
||||
if use custom-cflags; then
|
||||
LDFLAGS="$(raw-ldflags)"
|
||||
else
|
||||
unset CFLAGS CPPFLAGS LDFLAGS
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user