mirror of
https://abf.rosa.ru/djam/llvm13.git
synced 2025-02-24 08:52:45 +00:00
Bugfix python
This commit is contained in:
parent
3e5cdc3547
commit
edca3de6e9
1 changed files with 4 additions and 4 deletions
|
@ -332,7 +332,7 @@ Group: Development/Other
|
|||
Requires: clang = %{EVRD}
|
||||
# not picked up automatically since files are currently not instaled
|
||||
# in standard Python hierarchies yet
|
||||
Requires: python2
|
||||
Requires: python3
|
||||
|
||||
%description -n clang-analyzer
|
||||
The Clang Static Analyzer consists of both a source code analysis
|
||||
|
@ -368,7 +368,7 @@ cd -
|
|||
%patch3 -p1 -b .c-rt~
|
||||
|
||||
%build
|
||||
%global optflags %{optflags} -Wno-redundant-move -fno-strict-aliasing
|
||||
%global optflags %{optflags} -fno-strict-aliasing
|
||||
# Build with gcc/g++, not clang if it happens to be installed
|
||||
export CC=gcc
|
||||
export CXX=g++
|
||||
|
@ -383,9 +383,9 @@ export CXX=g++
|
|||
%ifarch %ix86
|
||||
# compiler-rt doesn't support ix86 with x<6 either
|
||||
export CFLAGS="%{optflags} -march=i686 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -g1"
|
||||
export CXXFLAGS="%{optflags} -march=i686 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-devirtualize -g1"
|
||||
export CXXFLAGS="%{optflags} -march=i686 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-devirtualize -g1 -Wno-redundant-move"
|
||||
%else
|
||||
export CXXFLAGS="%{optflags} -fno-devirtualize -g1"
|
||||
export CXXFLAGS="%{optflags} -fno-devirtualize -g1 -Wno-redundant-move"
|
||||
%endif
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue