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