Bugfix python

This commit is contained in:
Алзим 2020-02-13 18:35:57 +03:00
parent 3e5cdc3547
commit edca3de6e9

View file

@ -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