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 /libcpp/configure.ac | |
| parent | 30f399ee9318bcb44e3e2debde086303157a347d (diff) | |
Revert "configure: Implement --enable-host-pie"
This reverts commit 251c72a68af3a8b0638705b73ef120ffdf0053eb.
Diffstat (limited to 'libcpp/configure.ac')
| -rw-r--r-- | libcpp/configure.ac | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/libcpp/configure.ac b/libcpp/configure.ac index b29b4d6acf1..89ac99b04bd 100644 --- a/libcpp/configure.ac +++ b/libcpp/configure.ac @@ -211,23 +211,8 @@ esac # 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) # Enable Intel CET on Intel CET enabled host if jit is enabled. |
