|
|
|
@ -1,8 +1,8 @@
@@ -1,8 +1,8 @@
|
|
|
|
|
%if 0%{?rhel} |
|
|
|
|
#%if 0%{?rhel} |
|
|
|
|
%define with_private_llvm 1 |
|
|
|
|
%else |
|
|
|
|
%define with_private_llvm 0 |
|
|
|
|
%endif |
|
|
|
|
#%else |
|
|
|
|
#%define with_private_llvm 0 |
|
|
|
|
#%endif |
|
|
|
|
|
|
|
|
|
%define with_vdpau 1 |
|
|
|
|
%define with_wayland 1 |
|
|
|
@ -337,7 +337,7 @@ grep -q ^/ src/gallium/auxiliary/vl/vl_decoder.c && exit 1
@@ -337,7 +337,7 @@ grep -q ^/ src/gallium/auxiliary/vl/vl_decoder.c && exit 1
|
|
|
|
|
|
|
|
|
|
%if 0%{with_private_llvm} |
|
|
|
|
sed -i 's/\[llvm-config\]/\[llvm-private-config-%{__isa_bits}\]/g' configure.ac |
|
|
|
|
sed -i 's/`$LLVM_CONFIG --version`/$LLVM_VERSION_MAJOR.$LLVM_VERSION_MINOR-rhel/' configure.ac |
|
|
|
|
sed -i 's/`$LLVM_CONFIG --version`/$LLVM_VERSION_MAJOR.$LLVM_VERSION_MINOR-pel/' configure.ac |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
# need to use libdrm_nouveau2 on F17 |
|
|
|
|