From bc93c0e66efe7bff48b4432eca8eb232207744ba Mon Sep 17 00:00:00 2001 From: Stenzek Date: Thu, 25 Apr 2024 18:15:37 +1000 Subject: [PATCH] CI/Flatpak: Disable SDK CFLAGS It's setting _GLIBCXX_ASSERTIONS in release builds, which has a performance hit. --- scripts/flatpak/org.duckstation.DuckStation.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/flatpak/org.duckstation.DuckStation.json b/scripts/flatpak/org.duckstation.DuckStation.json index 976d41ca18..5fdc014c7f 100644 --- a/scripts/flatpak/org.duckstation.DuckStation.json +++ b/scripts/flatpak/org.duckstation.DuckStation.json @@ -29,6 +29,10 @@ "build-options": { "strip": false, "no-debuginfo": true, + "cflags": "", + "cflags-override": true, + "cxxflags": "", + "cxxflags-override": true, "config-opts": [ "-DCMAKE_BUILD_TYPE=Release", "-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON",