From 84b01df51899ef76d619f6068b61da0a12c3d41f Mon Sep 17 00:00:00 2001 From: Derek Stavis Date: Wed, 1 Nov 2023 23:26:59 -0300 Subject: [PATCH] add compiler optimization flags --- org.yuzu_emu.yuzu.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/org.yuzu_emu.yuzu.json b/org.yuzu_emu.yuzu.json index e8178d1..da7ad2e 100644 --- a/org.yuzu_emu.yuzu.json +++ b/org.yuzu_emu.yuzu.json @@ -264,6 +264,13 @@ "config-opts": [ "-DENABLE_OPENGL=OFF" ] + }, + "x86_64": { + "config-opts": [ + "-DYUZU_ENABLE_LTO=ON", + "-DCMAKE_C_FLAGS=$CFLAGS -lxml2 -march=x86-64-v3 -mtune=generic -Ofast", + "-DCMAKE_CXX_FLAGS=$CXXFLAGS -lxml2 -march=x86-64-v3 -mtune=generic -Ofast" + ] } } },