samsung-zeroltexx: fix audio (MR 2263)

Fix memory alignment issue that led to crashes
by adding the -mstrict-align compiler flags.

[ci:skip-build] already built successfully in CI
This commit is contained in:
st s 2021-06-26 01:15:00 +02:00 committed by Dylan Van Assche
parent 424528a799
commit 8efe40cee0
No known key found for this signature in database
GPG key ID: 8642571587897EA1

View file

@ -3,7 +3,7 @@
pkgname=linux-samsung-zeroltexx
pkgver=3.10.108
pkgrel=0
pkgrel=1
pkgdesc="Samsung Galaxy S6 edge kernel fork"
arch="aarch64"
_carch="arm64"
@ -39,6 +39,7 @@ prepare() {
build() {
unset LDFLAGS
make O="$_outdir" ARCH="$_carch" CC="${CC:-gcc}" \
KCPPFLAGS=-mstrict-align KCFLAGS=-mstrict-align \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS"
# Master DTB (deviceinfo_bootimg_qcdt)