Fix vaguely ridiculous buildSRPMFromSCM error
error: /builddir/build/SPECS/llvm.spec:70: bad %if condition Seriously you don't define %{__isa_bits} at srpm time, wtf.
This commit is contained in:
parent
ca904f135a
commit
a95cfcf5aa
@ -67,7 +67,7 @@ cd _build
|
|||||||
%cmake .. \
|
%cmake .. \
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-Bsymbolic -static-libstdc++" \
|
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-Bsymbolic -static-libstdc++" \
|
||||||
%if %{__isa_bits} == 64
|
%if 0%{?__isa_bits} == 64
|
||||||
-DLLVM_LIBDIR_SUFFIX=64 \
|
-DLLVM_LIBDIR_SUFFIX=64 \
|
||||||
%else
|
%else
|
||||||
-DLLVM_LIBDIR_SUFFIX= \
|
-DLLVM_LIBDIR_SUFFIX= \
|
||||||
|
Loading…
Reference in New Issue
Block a user