aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorWarner Losh <imp@bsdimp.com>2023-02-10 11:12:46 -0700
committerWarner Losh <imp@bsdimp.com>2023-03-01 11:09:18 -0700
commita365689f20f514eee248bc2d6db01a5b10ba26bd (patch)
tree3c4512682ac4ec4580b665740c9a95cc3922ca60 /configure
parent4cf41e80848bdca274b350b878881e2fa809ea0a (diff)
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 <imp@bsdimp.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 2a8a9be8a1..24684f47b6 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