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 /intl/configure.ac | |
parent | 30f399ee9318bcb44e3e2debde086303157a347d (diff) |
Revert "configure: Implement --enable-host-pie"
This reverts commit 251c72a68af3a8b0638705b73ef120ffdf0053eb.
Diffstat (limited to 'intl/configure.ac')
-rw-r--r-- | intl/configure.ac | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/intl/configure.ac b/intl/configure.ac index 81aa831f59f..16a740aa230 100644 --- a/intl/configure.ac +++ b/intl/configure.ac @@ -83,25 +83,10 @@ fi AC_SUBST(BISON3_YES) AC_SUBST(BISON3_NO) -# 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 config.intl) |