changeset 1225:dbe5116fb25d

core/busybox: put back clang fix
author David Demelier <markand@malikania.fr>
date Fri, 29 Oct 2021 13:10:31 +0200
parents d1dbb848c42d
children 680899f86785
files core/busybox/busybox.sh
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/busybox/busybox.sh	Fri Oct 29 09:58:11 2021 +0200
+++ b/core/busybox/busybox.sh	Fri Oct 29 13:10:31 2021 +0200
@@ -96,9 +96,10 @@
 		AR="$AR" \
 		AS="$AS" \
 		CC="$CC" \
+		CFLAGS="-DBB_GLOBAL_CONST=''" \
 		HOSTCC="$CC" \
 		HOSTCFLAGS="" \
-		EXTRA_CFLAGS="$CFLAGS" \
+		EXTRA_CFLAGS="$CFLAGS -O0" \
 		EXTRA_LDFLAGS="$LDFLAGS" \
 		NM="$NM" \
 		OBJCOPY="$OBJCOPY" \