From 6413fcde4fe0272eee469aaf41c8bb1d6e6a270f Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 17 Aug 2018 11:44:39 +0200 Subject: Add --with-nonshared-cflags option to configure --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 014e09a5d5..8045d44dd0 100644 --- a/configure.ac +++ b/configure.ac @@ -154,6 +154,14 @@ AC_ARG_WITH([default-link], [use_default_link=$withval], [use_default_link=default]) +dnl Additional build flags injection. +AC_ARG_WITH([nonshared-cflags], + AC_HELP_STRING([--with-nonshared-cflags=CFLAGS], + [build nonshared libraries with additional CFLAGS]), + [extra_nonshared_cflags=$withval], + [extra_nonshared_cflags=]) +AC_SUBST(extra_nonshared_cflags) + AC_ARG_ENABLE([sanity-checks], AC_HELP_STRING([--disable-sanity-checks], [really do not use threads (should not be used except in special situations) @<:@default=yes@:>@]), -- cgit 1.4.1