From 4b7177f5c36ad0ee1a3725a94367ede9543a2cb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Wed, 24 Oct 2018 20:52:21 +0200 Subject: [PATCH] mame: make size of executable strippable again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- recipes-emulators/mame/mame_0201.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/recipes-emulators/mame/mame_0201.bb b/recipes-emulators/mame/mame_0201.bb index d10e529..e99a76c 100644 --- a/recipes-emulators/mame/mame_0201.bb +++ b/recipes-emulators/mame/mame_0201.bb @@ -31,6 +31,18 @@ DEPENDS = " \ CLEANBROKEN = "1" +# avoid stip fail for size of executable >> 4GB - stolen from chromium +DEBUG_FLAGS_remove_arm = "-g" +DEBUG_FLAGS_append_arm = "-g1" +DEBUG_FLAGS_remove_x86 = "-g" +DEBUG_FLAGS_append_x86 = "-g1" +DEBUG_FLAGS_remove_aarch64 = "-g" +DEBUG_FLAGS_append_aarch64 = "-g1" +DEBUG_FLAGS_remove_x86-64 = "-g" +DEBUG_FLAGS_append_x86-64 = "-g1" + +PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" + # TBD: x86 may overrideoverrides later - cannot test MAME_NOASM="NOASM=1"