Skip to content
Snippets Groups Projects
Commit d32c6222 authored by Ray Sherwin's avatar Ray Sherwin
Browse files

Version 21.2-4

parent a849138a
No related branches found
No related tags found
No related merge requests found
Pipeline #14071 failed
......@@ -16,8 +16,8 @@ pkgname=(
'kodi-rpi-eventclients' 'kodi-rpi-tools-texturepacker' 'kodi-rpi-dev'
)
_commitnumber=65923
_commit=28071de478f275bafc8da798aa49d041bdeddc87
_commitnumber=65726
_commit=141466d91563efe26387d7b93843b8b94402ff16
# set this to anything to build with clang
# recommend manually setting -DUSE_LTO=OFF to -DUSE_LTO=$(nproc) in build()
......@@ -125,7 +125,7 @@ build() {
# -march= defined in /etc/makepkg.conf will override the value for -mcpu we
# uses here so unset them and redefine below
unset CFLAGS CXXFLAGS
unset CFLAGS CXXFLAGS LDFLAGS
if [[ $CARCH = "armv7h" ]]; then
# we use -mcpu=cortex-a53 rather than cortex-a72 to maximize RPi 3B and RPi 4B/400 compatibility
......@@ -142,6 +142,7 @@ build() {
CFLAGS+=" -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection"
CXXFLAGS+="${CFLAGS} -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS+="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now"
if [[ -n "$_clangbuild" ]]; then
export CC=clang CXX=clang++
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment