diff --git a/dxvk.spec b/dxvk.spec index 3195a61..a00cd2d 100644 --- a/dxvk.spec +++ b/dxvk.spec @@ -55,7 +55,7 @@ Provides a Vulkan-based implementation of DXGI and D3D11 in order to run 3D appl %setup -q %build -export CFLAGS="-DNDEBUG -fPIC -O2 -pthread -fno-strict-aliasing -fpredictive-commoning -fuse-linker-plugin" +export CFLAGS="%optflags -DNDEBUG -fPIC -O2 -pthread -fno-strict-aliasing -fpredictive-commoning -fuse-linker-plugin" export CXXFLAGS="${CFLAGS} -fpermissive" export LDFLAGS="-fPIC -Wl,--sort-common -Wl,--gc-sections -Wl,-O1 -fuse-linker-plugin"