diff options
author | Marek Polacek <polacek@redhat.com> | 2022-11-22 21:10:31 -0500 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2022-11-22 21:10:31 -0500 |
commit | 04711f5189a72c2fcaeed520d65582704adca042 (patch) | |
tree | f0eb61aee9cb51bf6ff14bfef4429b1f77e99d26 /zlib/configure.ac | |
parent | 30f399ee9318bcb44e3e2debde086303157a347d (diff) | |
download | gcc-04711f5189a72c2fcaeed520d65582704adca042.zip gcc-04711f5189a72c2fcaeed520d65582704adca042.tar.gz gcc-04711f5189a72c2fcaeed520d65582704adca042.tar.bz2 |
Revert "configure: Implement --enable-host-pie"
This reverts commit 251c72a68af3a8b0638705b73ef120ffdf0053eb.
Diffstat (limited to 'zlib/configure.ac')
-rw-r--r-- | zlib/configure.ac | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/zlib/configure.ac b/zlib/configure.ac index adf7aad..be1cfe2 100644 --- a/zlib/configure.ac +++ b/zlib/configure.ac @@ -122,26 +122,11 @@ else multilib_arg= fi -# Enable --enable-host-shared. AC_ARG_ENABLE(host-shared, [AS_HELP_STRING([--enable-host-shared], - [build host code as shared libraries])]) -AC_SUBST(enable_host_shared) - -# Enable --enable-host-pie. -AC_ARG_ENABLE(host-pie, -[AS_HELP_STRING([--enable-host-pie], - [build host code as PIE])]) -AC_SUBST(enable_host_pie) - -if test x$enable_host_shared = xyes; then - PICFLAG=-fPIC -elif test x$enable_host_pie = xyes; then - PICFLAG=-fPIE -else - PICFLAG= -fi - + [build host code as shared libraries])], +[PICFLAG=-fPIC], [PICFLAG=]) AC_SUBST(PICFLAG) + AC_CONFIG_FILES([Makefile]) AC_OUTPUT |