From c041cd3d0cdcacdc8a01acbfddf1df6f312159f2 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Wed, 21 Jan 2015 22:25:23 +0530 Subject: [PATCH] Disable -Werror for a bootstrap build --- glibc.spec | 3 +++ 1 file changed, 3 insertions(+) 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