[glibc] Disable -Werror for a bootstrap build
Siddhesh Poyarekar
siddhesh at fedoraproject.org
Wed Jan 21 16:55:05 UTC 2015
commit c041cd3d0cdcacdc8a01acbfddf1df6f312159f2
Author: Siddhesh Poyarekar <siddhesh at redhat.com>
Date: Wed Jan 21 22:25:23 2015 +0530
Disable -Werror for a bootstrap build
glibc.spec | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
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
More information about the scm-commits
mailing list