From 9441b1f8d3f8f88b59e096dac628d11d8001d79f Mon Sep 17 00:00:00 2001 From: Ken VanDine Date: Tue, 9 Jul 2024 11:04:09 +0200 Subject: [PATCH] Clear execstack, necessary for armhf builds, triggers review warning --- snapcraft.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/snapcraft.yaml b/snapcraft.yaml index 85985d8..86f4845 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1508,6 +1508,8 @@ parts: after: [ debs ] plugin: nil build-environment: *buildenv + build-packages: + - execstack override-prime: | set -eux craftctl default @@ -1579,6 +1581,9 @@ parts: # CHECK THIS When changing the core base, this line must be update cp /snap/$CRAFT_EXT_CORE_LEVEL/current/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libc_malloc_debug.so.0 lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/ + # Necessary for armhf builds, triggers review warning + execstack --clear-execstack usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libde265.so.0* + # Used by the gnome snapcraft extensions to load translations from within the content snap bindtextdomain: after: [ conditioning ]