]> git.ipfire.org Git - thirdparty/glibc.git/commit
Properly handle --disable-default-pie [BZ #28780]
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 15 Jan 2022 22:23:20 +0000 (14:23 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 17 Jan 2022 15:27:25 +0000 (07:27 -0800)
commitded3aeb2025c6686956eb10125aacb9a6e7c298e
tree66efc42730938c9345eae35648db5da733c23e49
parent9fe6f6363886aae6b2b210cae3ed1f5921299083
Properly handle --disable-default-pie [BZ #28780]

When --disable-default-pie is used, all glibc programs and the testsuite
should be built as position dependent executables (non-PIE), regardless
if the build compiler supports PIE or static PIE.

When --disable-default-pie is used, don't build static PIE by default.

This fixes BZ #28780.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
configure
configure.ac