disable arm exception handling on armv7hl
This commit is contained in:
parent
b9d697ea63
commit
8033de4eaa
@ -43,6 +43,12 @@ cd _build
|
|||||||
%global optflags %(echo %{optflags} | sed 's/-march=z9-109 /-march=z10 /')
|
%global optflags %(echo %{optflags} | sed 's/-march=z9-109 /-march=z10 /')
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%ifarch armv7hl
|
||||||
|
# disable ARM exception handling
|
||||||
|
sed -i 's|LIBCXXABI_ARM_EHABI 1|LIBCXXABI_ARM_EHABI 0|g' include/__cxxabi_config.h
|
||||||
|
%endif
|
||||||
|
|
||||||
export LDFLAGS="-Wl,--build-id"
|
export LDFLAGS="-Wl,--build-id"
|
||||||
%cmake .. \
|
%cmake .. \
|
||||||
-DCMAKE_C_COMPILER=/usr/bin/clang \
|
-DCMAKE_C_COMPILER=/usr/bin/clang \
|
||||||
|
Loading…
Reference in New Issue
Block a user