From 88ca7d0a15b61271d0137f93b3b4072ae88fbe50 Mon Sep 17 00:00:00 2001 From: Alexander Stefanov Date: Tue, 16 Apr 2019 11:29:20 +0000 Subject: [PATCH] fix Werror --- glibc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glibc.spec b/glibc.spec index 027f3d3..d91abde 100644 --- a/glibc.spec +++ b/glibc.spec @@ -164,6 +164,7 @@ Patch1034: glibc-2.27-clang-_Float.patch Patch1035: glibc-2.29-aarch64-buildfix.patch Patch1036: glibc-2.29-strict-aliasing.patch Patch1037: glibc-2.29-SIG_BLOCK.patch +Patch1039: unsigned-magic.patch # yes need python3 BuildRequires: pkgconfig(python3) @@ -877,7 +878,6 @@ function BuildGlibc() { [[ "$BuildAltArch" = "yes" ]] && touch ".alt" || touch ".main" CC="$BuildCC" CXX="$BuildCXX" CFLAGS="$BuildFlags -Wno-error -fno-strict-aliasing" LDFLAGS="%{ldflags} -fuse-ld=bfd" ../configure \ $arch-%{_target_vendor}-%{_target_os}%{?_gnu} \ - --disable-werror \ --prefix=%{_prefix} \ --libexecdir=%{_prefix}/libexec \ --infodir=%{_infodir} \