[PATCH] configure: Silence a linker warning about no-PIC .text relocations.
5 Feb
2021
5 Feb
'21
10:19 a.m.
Signed-off-by: Rémi Bernon <rbernon(a)codeweavers.com> --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3a0bc6e713a..27ff4b78630 100644 --- a/configure.ac +++ b/configure.ac @@ -911,7 +911,11 @@ case $host_os in case $host_cpu in *i[[3456789]]86*) DLLFLAGS="$DLLFLAGS -fno-PIC" - LDDLLFLAGS="-fno-PIC" ;; + LDDLLFLAGS="-fno-PIC" + WINE_TRY_CFLAGS([-fno-PIC -Wl,-z,notext], + [DLLFLAGS="$DLLFLAGS -Wl,-z,notext" + LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"]) + ;; *) DLLFLAGS="$DLLFLAGS -fPIC" LDDLLFLAGS="-fPIC" ;; -- 2.30.0
1777
Age (days ago)
1777
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rémi Bernon