From b54c39f9219cee4f7581ee4e0f14a9a340042e34b197b01b7bd07da873b87155 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sat, 19 Jun 2021 13:42:51 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Emulators:Wine/dxvk?expand=0&rev=23 --- dxvk.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dxvk.spec b/dxvk.spec index 211cecd..290f7f1 100644 --- a/dxvk.spec +++ b/dxvk.spec @@ -56,9 +56,9 @@ Provides a Vulkan-based implementation of DXGI and D3D11 in order to run 3D appl %setup -q %build -export CFLAGS="%optflags -DNDEBUG -fPIC -O2 -pthread -fno-strict-aliasing -fpredictive-commoning -fuse-linker-plugin -fno-stack-protector -fno-stack-clash-protection" +export CFLAGS="%optflags -DNDEBUG -fPIC -O2 -pthread -fno-strict-aliasing -fpredictive-commoning -fuse-linker-plugin -fno-stack-protector -fno-stack-clash-protection -fno-lto" export CXXFLAGS="${CFLAGS} -fpermissive" -export LDFLAGS="-fPIC -Wl,--sort-common -Wl,--gc-sections -Wl,-O1 -fuse-linker-plugin" +export LDFLAGS="-fPIC -Wl,--sort-common -Wl,--gc-sections -Wl,-O1 -fuse-linker-plugin -fno-lto" mkdir ../build