nixpkgs/pkgs/development/libraries/glibc-2.11/gnu89-inline.patch
Lluís Batlle i Rossell 878792cade Patch (already upstream on glibc master) for configure in glibc to get the gnu89-inline gcc flag right
svn path=/nixpkgs/branches/stdenv-updates/; revision=22844
2010-08-01 21:03:53 +00:00

27 lines
672 B
Diff

diff --git a/configure b/configure
index ce76653..fba6de2 100755
--- a/configure
+++ b/configure
@@ -6891,7 +6891,7 @@ fi
$as_echo "$libc_cv_gnu89_inline" >&6; }
if test $libc_cv_gnu89_inline = yes; then
libc_cv_gnu89_inline=-fgnu89-inline
-else
+elif test $libc_cv_gnu89_inline = no; then
libc_cv_gnu89_inline=
fi
diff --git a/configure.in b/configure.in
index 182c683..b867371 100644
--- a/configure.in
+++ b/configure.in
@@ -1777,7 +1777,7 @@ fi
rm -f conftest*])
if test $libc_cv_gnu89_inline = yes; then
libc_cv_gnu89_inline=-fgnu89-inline
-else
+elif test $libc_cv_gnu89_inline = no; then
libc_cv_gnu89_inline=
fi
AC_SUBST(libc_cv_gnu89_inline)