diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-08-17 11:44:39 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-08-17 11:44:39 +0200 |
commit | 6413fcde4fe0272eee469aaf41c8bb1d6e6a270f (patch) | |
tree | 5d9ed44268cebf689da7fceafa88371b524a8027 /configure | |
parent | 93a2584cd2ffb2a6e4b17682ba250889059f5d8b (diff) | |
download | glibc-6413fcde4fe0272eee469aaf41c8bb1d6e6a270f.tar.gz glibc-6413fcde4fe0272eee469aaf41c8bb1d6e6a270f.tar.xz glibc-6413fcde4fe0272eee469aaf41c8bb1d6e6a270f.zip |
Add --with-nonshared-cflags option to configure
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/configure b/configure index fde57d63fe..285a6537f0 100755 --- a/configure +++ b/configure @@ -684,6 +684,7 @@ force_install bindnow hardcoded_path_in_tests enable_timezone_tools +extra_nonshared_cflags use_default_link sysheaders ac_ct_CXX @@ -762,6 +763,7 @@ with_binutils with_selinux with_headers with_default_link +with_nonshared_cflags enable_sanity_checks enable_shared enable_profile @@ -1482,6 +1484,8 @@ Optional Packages: --with-headers=PATH location of system headers to use (for example /usr/src/linux/include) [default=compiler default] --with-default-link do not use explicit linker scripts + --with-nonshared-cflags=CFLAGS + build nonshared libraries with additional CFLAGS --with-cpu=CPU select code for CPU variant Some influential environment variables: @@ -3339,6 +3343,16 @@ else fi + +# Check whether --with-nonshared-cflags was given. +if test "${with_nonshared_cflags+set}" = set; then : + withval=$with_nonshared_cflags; extra_nonshared_cflags=$withval +else + extra_nonshared_cflags= +fi + + + # Check whether --enable-sanity-checks was given. if test "${enable_sanity_checks+set}" = set; then : enableval=$enable_sanity_checks; enable_sanity=$enableval |