- Switch back to gcc because clang fails on armv7l

OBS-URL: https://build.opensuse.org/package/show/Publishing/sile?expand=0&rev=42
This commit is contained in:
Gordon Leung 2024-06-14 16:59:27 +00:00 committed by Git OBS Bridge
parent ae8b6d3f9c
commit 0ece15a403
2 changed files with 1 additions and 7 deletions

View File

@ -6,6 +6,7 @@ Fri Jun 14 16:42:20 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- Document that we are using lua51 includes because luajit includes
are missing from the openSUSE package
* boo#1226307
- Switch back to gcc because clang fails on armv7l
-------------------------------------------------------------------
Fri Jun 14 10:20:53 UTC 2024 - Soc Virnyl Estela <obs@uncomfyhalomacro.pl>

View File

@ -107,9 +107,6 @@ Suggests: hack-fonts
# Rust build dependencies. We don't need cargo packaging.
# Sile has a flags we have to respect it
BuildRequires: cargo
# Attempt to also use clang too. Seems this is what they used
BuildRequires: clang
BuildRequires: clang-devel
# For tar scm lol
BuildRequires: zstd
@ -177,8 +174,6 @@ unset LIBSSH2_SYS_USE_PKG_CONFIG
export RUSTFLAGS=" -Clink-arg=-Wl,-z,relro,-z,now -C debuginfo=2 -C incremental=false -C strip=none"
export CARGO_AUDITABLE=auditable
export CARGO_FEATURE_VENDORED=1
export CXX=/usr/bin/clang++
export CC=/usr/bin/clang
# boo#1226307
# Force configure file to use lua5.1 includes rather than luajit includes
export LUA_INCLUDE="-I/usr/include/lua5.1"
@ -199,8 +194,6 @@ unset LIBSSH2_SYS_USE_PKG_CONFIG
export RUSTFLAGS=" -Clink-arg=-Wl,-z,relro,-z,now -C debuginfo=2 -C incremental=false -C strip=none"
export CARGO_AUDITABLE=auditable
export CARGO_FEATURE_VENDORED=1
export CXX=/usr/bin/clang++
export CC=/usr/bin/clang
# boo#1226307
# Force configure file to use lua5.1 includes rather than luajit includes
export LUA_INCLUDE="-I/usr/include/lua5.1"