From c041cd3d0cdcacdc8a01acbfddf1df6f312159f2 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Jan 21 2015 16:55:23 +0000 Subject: Disable -Werror for a bootstrap build --- diff --git a/glibc.spec b/glibc.spec index 51a8ef3..734ef32 100644 --- a/glibc.spec +++ b/glibc.spec @@ -22,6 +22,9 @@ %ifarch s390x %define disable_werror 1 %endif +# Disable -Werror if we're bootstrapping +%{!?_with_bootstrap: %global disable_werror 1} + ############################################################################## # Auxiliary arches are those arches that can be built in addition # to the core supported arches. You either install an auxarch or