From 98f4afcd630ad88d6dc371cf6beafd2142e944af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quang=20Ng=C3=B4?= Date: Sat, 7 Dec 2024 10:58:04 +0700 Subject: [PATCH] Use link-time optimization for building Taken from https://github.com/shadps4-emu/shadPS4/pull/1636. --- net.shadps4.shadPS4.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/net.shadps4.shadPS4.yaml b/net.shadps4.shadPS4.yaml index a5422d1..e5e2622 100644 --- a/net.shadps4.shadPS4.yaml +++ b/net.shadps4.shadPS4.yaml @@ -71,6 +71,7 @@ modules: - -DCMAKE_C_COMPILER=clang - -DCMAKE_CXX_COMPILER=clang++ - -DCMAKE_BUILD_TYPE=RelWithDebInfo + - -DCMAKE_INTERPROCEDURAL_OPTIMIZATION_RELWITHDEBINFO=ON sources: # We're using a git source here rather than a zipball because zip/tarballs # don't include submodules, which shadps4 depends on (in the externals directory)