diff options
Diffstat (limited to 'sys-devel/autogen')
-rw-r--r-- | sys-devel/autogen/autogen-5.18.16-r1.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-devel/autogen/autogen-5.18.16-r1.ebuild b/sys-devel/autogen/autogen-5.18.16-r1.ebuild index d69abe1e265b..b2f45d68237b 100644 --- a/sys-devel/autogen/autogen-5.18.16-r1.ebuild +++ b/sys-devel/autogen/autogen-5.18.16-r1.ebuild @@ -43,6 +43,13 @@ src_configure() { # suppress possibly incorrect -R flag export ag_cv_test_ldflags= + # autogen requires run-time sanity of regex and string functions. + # Use defaults of linux-glibc until we need somethig more advanced. + if tc-is-cross-compiler ; then + export ag_cv_run_strcspn=no + export libopts_cv_with_libregex=yes + fi + econf $(use_enable static-libs static) } |