specify the path for python3 (rosa2016.1)

This commit is contained in:
slava86 2021-05-25 13:43:26 +03:00
parent c4fa0c8d68
commit f031f47176

View file

@ -28,7 +28,7 @@ Summary: LLVM and Clang in %{_prefix}
# llvm11
Name: llvm%{maj_ver}
Version: 12.0.0
Release: 3
Release: 4
License: NCSA
Group: Development/Other
Url: http://llvm.org
@ -109,7 +109,6 @@ export CXXFLAGS="%{optflags} -march=i686 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SO
export CXXFLAGS="%{optflags} -fno-devirtualize -g1 -Wno-redundant-move"
%endif
%ifarch %ix86
# Fix noexecstack
for i in compiler-rt/lib/builtins/i386/*.S; do
@ -121,6 +120,11 @@ EOF
done
%endif
%if %rpm5
export PYTHONPATH=/usr/bin/
export PATH=$PYTHONPATH:$PATH
%endif
%setup_compile_flags
mkdir -p build
cd build