]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libiberty/configure
configure: Implement --enable-host-pie
[thirdparty/gcc.git] / libiberty / configure
index 860f981fa18354dfec7d23461079e9ebb8d388a4..b8a19c421108afc822c62545c50b754742a1b7a8 100755 (executable)
@@ -5258,8 +5258,8 @@ case "${enable_shared}" in
   *) shared=yes ;;
 esac
 
-# ...unless --enable-host-shared was passed from top-level config:
-if [ "${enable_host_shared}" = "yes" ]; then
+# ...unless --enable-host-{shared,pie} was passed from top-level config:
+if [ "${enable_host_shared}" = "yes" ] || [ "${enable_host_pie}" = "yes" ]; then
   shared=yes
 fi