]> git.proxmox.com Git - mirror_qemu.git/commit - configure
configure: Support -static-pie if requested
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 18 Dec 2019 01:30:14 +0000 (15:30 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 28 Mar 2020 21:09:45 +0000 (14:09 -0700)
commit127814629b32d5e0de2873d742e08cb9bd412af7
tree6b9298b018fe029542843eb832368a548f68a296
parent2c674109c2da3f2e17b69f39e0b93b3f3d3dfa59
configure: Support -static-pie if requested

Recent toolchains support static and pie at the same time.

As with normal dynamic builds, allow --static to default to PIE
if supported by the toolchain.  Allow --enable/--disable-pie to
override the default.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
v2: Fix --disable-pie --static
v3: Update for QEMU_LDFLAGS.
configure