diff options
author | psykose <alice@ayaya.dev> | 2023-04-19 19:39:35 +0000 |
---|---|---|
committer | psykose <alice@ayaya.dev> | 2023-04-19 21:39:52 +0200 |
commit | 748a20669509efb26fe879f2d9fe7989e8871ce9 (patch) | |
tree | 31707fbaf0bb24640c2c011060640e62f7aa8c51 | |
parent | 4f4b452292bf65a3aeca2d3f4b2da32be02bab82 (diff) | |
download | aports-748a20669509efb26fe879f2d9fe7989e8871ce9.zip |
main/linux-lts: unset *flags by default
should fix
/home/buildozer/aports/main/linux-rpi/src/linux-6.1/include/linux/kthread.h:53:16: error: format not a string literal and no format arguments [-Werror=format-security]
53 | struct task_struct *__k \
| ^~~~~~~~~~~
/home/buildozer/aports/main/linux-rpi/src/linux-6.1/drivers/usb/host/dwc_common_port/dwc_common_linux.c:911:38: note: in expansion of macro 'kthread_run'
911 | struct task_struct *thread = kthread_run(func, data, name);
| ^~~~~~~~~~~
-rw-r--r-- | main/linux-lts/APKBUILD | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/linux-lts/APKBUILD b/main/linux-lts/APKBUILD index 200ad8b6ac1..ae2f42d650d 100644 --- a/main/linux-lts/APKBUILD +++ b/main/linux-lts/APKBUILD @@ -165,6 +165,9 @@ updateconfigs() { build() { unset LDFLAGS + # for some reason these sometimes leak into the kernel build, + # -Werror=format-security breaks some stuff + unset CFLAGS CPPFLAGS CXXFLAGS export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" for i in $_flavors; do _prepareconfig "$i" "$CARCH" |