Ismail Dönmez 2013-11-19 10:02:27 +00:00 committed by Git OBS Bridge
parent 285cb52331
commit 18f7abfed1

View File

@ -170,8 +170,9 @@ sed -i s,LLVM_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp
%if "%{_lib}" == "lib64" %if "%{_lib}" == "lib64"
# Nasty hardcoded path # Nasty hardcoded path
sed -i s,/lib/,/%{_lib}/,g tools/clang/lib/Driver/Tools.cpp \ sed -i s,"/lib/","/lib64/",g tools/clang/lib/Driver/Tools.cpp \
tools/clang/test/Preprocessor/iwithprefix.c tools/clang/test/Driver/dyld-prefix.c
sed -i s,"}lib{","}lib64{",g tools/clang/test/Preprocessor/iwithprefix.c
%endif %endif
# Only enable target archs otherwise llvm-config is messed up # Only enable target archs otherwise llvm-config is messed up