From 609b7c67e3ed1ba0c3d56c8d7143a36a5bf23fbfd08e355103e4601adab52e6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 15 Jan 2024 14:58:26 +0000 Subject: [PATCH] Accepting request 1138975 from home:Andreas_Schwab:Factory - Build with %optflags OBS-URL: https://build.opensuse.org/request/show/1138975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=23 --- micropython.changes | 5 +++++ micropython.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/micropython.changes b/micropython.changes index 0855285..1bc49bd 100644 --- a/micropython.changes +++ b/micropython.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 15 14:54:02 UTC 2024 - Andreas Schwab + +- Build with %optflags + ------------------------------------------------------------------- Mon Jan 8 02:06:11 UTC 2024 - Steve Kowalik diff --git a/micropython.spec b/micropython.spec index 41d7135..aae78d6 100644 --- a/micropython.spec +++ b/micropython.spec @@ -42,7 +42,7 @@ sed -i -e "s:/usr/lib/micropython:%{_prefix}/lib/micropython:g" "ports/unix/main %define make_flags V=1 MICROPY_PY_BTREE=0 MICROPY_PY_USSL=0 %build -export CFLAGS="$CFLAGS -Wno-dangling-pointer" +export CFLAGS="%optflags -Wno-dangling-pointer" %make_build -C mpy-cross %make_build -C ports/unix STRIP=true