mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
|
--- xen-4.15.0/tools/qemu-xen/configure.orig 2020-11-06 16:30:18.000000000 +0100
|
||
|
+++ xen-4.15.0/tools/qemu-xen/configure 2021-04-10 01:32:39.533566877 +0200
|
||
|
@@ -2184,7 +2184,6 @@
|
||
|
# Check we support --no-pie first; we will need this for building ROMs.
|
||
|
if compile_prog "-Werror -fno-pie" "-no-pie"; then
|
||
|
CFLAGS_NOPIE="-fno-pie"
|
||
|
- LDFLAGS_NOPIE="-no-pie"
|
||
|
fi
|
||
|
|
||
|
if test "$static" = "yes"; then
|
||
|
@@ -2200,7 +2199,6 @@
|
||
|
fi
|
||
|
elif test "$pie" = "no"; then
|
||
|
QEMU_CFLAGS="$CFLAGS_NOPIE $QEMU_CFLAGS"
|
||
|
- QEMU_LDFLAGS="$LDFLAGS_NOPIE $QEMU_LDFLAGS"
|
||
|
elif compile_prog "-Werror -fPIE -DPIE" "-pie"; then
|
||
|
QEMU_CFLAGS="-fPIE -DPIE $QEMU_CFLAGS"
|
||
|
QEMU_LDFLAGS="-pie $QEMU_LDFLAGS"
|
||
|
@@ -7996,7 +7994,6 @@
|
||
|
echo "QEMU_CFLAGS += -Wbitwise -Wno-transparent-union -Wno-old-initializer -Wno-non-pointer-null" >> $config_host_mak
|
||
|
fi
|
||
|
echo "QEMU_LDFLAGS=$QEMU_LDFLAGS" >> $config_host_mak
|
||
|
-echo "LDFLAGS_NOPIE=$LDFLAGS_NOPIE" >> $config_host_mak
|
||
|
echo "LD_REL_FLAGS=$LD_REL_FLAGS" >> $config_host_mak
|
||
|
echo "LD_I386_EMULATION=$ld_i386_emulation" >> $config_host_mak
|
||
|
echo "LIBS+=$LIBS" >> $config_host_mak
|