mirror of
https://abf.rosa.ru/djam/glibc33.git
synced 2025-02-24 18:22:59 +00:00
fix Werror
This commit is contained in:
parent
5bdc9c52d7
commit
88ca7d0a15
1 changed files with 1 additions and 1 deletions
|
@ -164,6 +164,7 @@ Patch1034: glibc-2.27-clang-_Float.patch
|
||||||
Patch1035: glibc-2.29-aarch64-buildfix.patch
|
Patch1035: glibc-2.29-aarch64-buildfix.patch
|
||||||
Patch1036: glibc-2.29-strict-aliasing.patch
|
Patch1036: glibc-2.29-strict-aliasing.patch
|
||||||
Patch1037: glibc-2.29-SIG_BLOCK.patch
|
Patch1037: glibc-2.29-SIG_BLOCK.patch
|
||||||
|
Patch1039: unsigned-magic.patch
|
||||||
|
|
||||||
# yes need python3
|
# yes need python3
|
||||||
BuildRequires: pkgconfig(python3)
|
BuildRequires: pkgconfig(python3)
|
||||||
|
@ -877,7 +878,6 @@ function BuildGlibc() {
|
||||||
[[ "$BuildAltArch" = "yes" ]] && touch ".alt" || touch ".main"
|
[[ "$BuildAltArch" = "yes" ]] && touch ".alt" || touch ".main"
|
||||||
CC="$BuildCC" CXX="$BuildCXX" CFLAGS="$BuildFlags -Wno-error -fno-strict-aliasing" LDFLAGS="%{ldflags} -fuse-ld=bfd" ../configure \
|
CC="$BuildCC" CXX="$BuildCXX" CFLAGS="$BuildFlags -Wno-error -fno-strict-aliasing" LDFLAGS="%{ldflags} -fuse-ld=bfd" ../configure \
|
||||||
$arch-%{_target_vendor}-%{_target_os}%{?_gnu} \
|
$arch-%{_target_vendor}-%{_target_os}%{?_gnu} \
|
||||||
--disable-werror \
|
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
--libexecdir=%{_prefix}/libexec \
|
--libexecdir=%{_prefix}/libexec \
|
||||||
--infodir=%{_infodir} \
|
--infodir=%{_infodir} \
|
||||||
|
|
Loading…
Add table
Reference in a new issue