From: Warner Losh Date: Fri, 10 Feb 2023 18:12:46 +0000 (-0700) Subject: build: Don't specify -no-pie for --static user-mode programs X-Git-Tag: v8.0.0-rc0~39^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a365689f20f514eee248bc2d6db01a5b10ba26bd;p=thirdparty%2Fqemu.git build: Don't specify -no-pie for --static user-mode programs When building with clang, -no-pie gives a warning on every single build, so remove it. Signed-off-by: Warner Losh Reviewed-by: Alex Bennée --- diff --git a/configure b/configure index 2a8a9be8a18..24684f47b6b 100755 --- a/configure +++ b/configure @@ -1347,7 +1347,7 @@ if test "$static" = "yes"; then error_exit "-static-pie not available due to missing toolchain support" else pie="no" - QEMU_CFLAGS="-fno-pie -no-pie $QEMU_CFLAGS" + QEMU_CFLAGS="-fno-pie $QEMU_CFLAGS" fi elif test "$pie" = "no"; then if compile_prog "-Werror -fno-pie" "-no-pie"; then