]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Dump config.log if configure fails
authorAndreas Schwab <schwab@redhat.com>
Mon, 2 Aug 2010 14:11:26 +0000 (16:11 +0200)
committerAndreas Schwab <schwab@redhat.com>
Mon, 2 Aug 2010 14:11:26 +0000 (16:11 +0200)
fedora/glibc.spec.in

index 10f40c0d9fc09d34aa486ced932fd0097a464b9c..0f30ca4666c68b70e9c3f2ef1d9a022d7b84032d 100644 (file)
@@ -352,7 +352,8 @@ build_CFLAGS="$BuildFlags -g -O3 $*"
 %ifarch %{multiarcharches}
        --enable-multi-arch \
 %endif
-       --disable-profile --enable-experimental-malloc --enable-nss-crypt
+       --disable-profile --enable-experimental-malloc --enable-nss-crypt ||
+{ cat config.log; false; }
 
 make %{?_smp_mflags} -r CFLAGS="$build_CFLAGS" PARALLELMFLAGS=-s