about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2022-01-14 20:16:05 +0100
committerFlorian Weimer <fweimer@redhat.com>2022-01-14 20:17:15 +0100
commit9ba202c78f0aa39f49929eee63c367847da72ee4 (patch)
treee292ce37276d20fcefc97f5441bc1e4edd4d8368 /configure.ac
parentb693d75f0c611bce9b0ad984bad306121d42c535 (diff)
downloadglibc-9ba202c78f0aa39f49929eee63c367847da72ee4.tar.gz
glibc-9ba202c78f0aa39f49929eee63c367847da72ee4.tar.xz
glibc-9ba202c78f0aa39f49929eee63c367847da72ee4.zip
Add --with-rtld-early-cflags configure option
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 277d3527d2..40f2de1661 100644
--- a/configure.ac
+++ b/configure.ac
@@ -162,6 +162,12 @@ AC_ARG_WITH([nonshared-cflags],
 	    [extra_nonshared_cflags=$withval],
 	    [extra_nonshared_cflags=])
 AC_SUBST(extra_nonshared_cflags)
+AC_ARG_WITH([rtld-early-cflags],
+	    AS_HELP_STRING([--with-rtld-early-cflags=CFLAGS],
+			   [build early initialization with additional CFLAGS]),
+	    [rtld_early_cflags=$withval],
+	    [rtld_early_cflags=])
+AC_SUBST(rtld_early_cflags)
 
 AC_ARG_WITH([timeoutfactor],
 	    AS_HELP_STRING([--with-timeoutfactor=NUM],