Disable _auto_set_build_flags
This commit is contained in:
parent
a15f77b34c
commit
4e7e8517f3
@ -1,5 +1,8 @@
|
||||
%global __os_install_post /usr/lib/rpm/brp-compress %{nil}
|
||||
|
||||
# Causes build failures
|
||||
%undefine _auto_set_build_flags
|
||||
|
||||
# Steps:
|
||||
# 1. Build mingw-gcc with bootstrap=1, enable_libgomp=0
|
||||
# 2. Build mingw-crt
|
||||
@ -43,10 +46,13 @@ URL: http://gcc.gnu.org
|
||||
# git --git-dir=gcc-dir.tmp/.git archive --prefix=%%{name}-%%{version}-%%{DATE}/ %%{gitrev} | xz -9e > %%{name}-%%{version}-%%{DATE}.tar.xz
|
||||
# rm -rf gcc-dir.tmp
|
||||
%global srcdir gcc-%{version}-%{DATE}
|
||||
Source0: %{srcdir}.tar.xz
|
||||
Patch0: mingw-gcc-config.patch
|
||||
Source0: %{srcdir}.tar.xz
|
||||
|
||||
Patch0: mingw-gcc-config.patch
|
||||
# See https://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public/thread/8fd2fb03-9b8a-07e1-e162-0bb48bcc3984%40gmail.com/#msg37200751
|
||||
Patch1: 0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch
|
||||
Patch1: 0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch
|
||||
# Fix build with gcc12
|
||||
Patch2: gcc_gcc12.patch
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: make
|
||||
|
||||
Loading…
Reference in New Issue
Block a user