]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libcpp/configure.ac
Add --enable-host-shared configuration option
[thirdparty/gcc.git] / libcpp / configure.ac
index 799301f072202d00790cda05f0fdc55f425db441..a70603c95a67b385f2f89c861c5e7f79e6b60a40 100644 (file)
@@ -220,6 +220,13 @@ case $target in
                 [Define to 1 if you can assemble SSE4 insns.])])
 esac
 
+# Enable --enable-host-shared.
+AC_ARG_ENABLE(host-shared,
+[AS_HELP_STRING([--enable-host-shared],
+               [build host code as shared libraries])],
+[PICFLAG=-fPIC], [PICFLAG=])
+AC_SUBST(PICFLAG)
+
 # Output.
 
 AC_CONFIG_HEADERS(config.h:config.in, [echo timestamp > stamp-h1])