From 6a40aa46f424a708e0863b8fdcfaa1bd47279c43 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 15 Nov 2025 00:03:00 +0100 Subject: [PATCH] Drop debug symbols in toolchain build --- flatpak/io.github.wivrn.wivrn.yml.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flatpak/io.github.wivrn.wivrn.yml.in b/flatpak/io.github.wivrn.wivrn.yml.in index 9c276544..ce23e901 100644 --- a/flatpak/io.github.wivrn.wivrn.yml.in +++ b/flatpak/io.github.wivrn.wivrn.yml.in @@ -69,6 +69,10 @@ modules: - type: git url: https://github.com/crosstool-ng/crosstool-ng.git tag: 70c2b00ad79a0a21a48e5a0eedc9f91c374af21d + - type: shell + commands: + - sed -i 's/-O2 -g/-O2/' scripts/crosstool-NG.sh + - sed -i 's/-g -O2/-O2/' scripts/build/cc/gcc.sh cleanup: - '*'