diff options
author | Alexandre Bouvier | 2021-02-14 16:08:09 +0100 |
---|---|---|
committer | Alexandre Bouvier | 2021-02-14 16:08:09 +0100 |
commit | 22e8160c8398aa29155bfef46c0a248ad7a2fab6 (patch) | |
tree | a9406b37bb926c69cd3f1c67fa30468e8ec84341 /fix-no-pie.diff | |
parent | 4f08c43a0f16a5f78bf73e234e989c780fdc521d (diff) | |
download | aur-22e8160c8398aa29155bfef46c0a248ad7a2fab6.tar.gz |
0.5.0.r42.g8326870f77
Diffstat (limited to 'fix-no-pie.diff')
-rw-r--r-- | fix-no-pie.diff | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/fix-no-pie.diff b/fix-no-pie.diff new file mode 100644 index 000000000000..620b31643418 --- /dev/null +++ b/fix-no-pie.diff @@ -0,0 +1,26 @@ +--- a/configure 2021-02-14 15:53:55.731291720 +0100 ++++ b/configure 2021-02-14 15:52:34.968093261 +0100 +@@ -2192,7 +2192,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 +@@ -2208,7 +2207,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" +@@ -8081,7 +8079,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 |