Skip to content

Commit

Permalink
Proton-tkg: Unset compiler flags for vkd3d-proton to use its own
Browse files Browse the repository at this point in the history
  • Loading branch information
Tk-Glitch committed Sep 16, 2020
1 parent 3eee532 commit f40439d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions proton-tkg/proton-tkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,10 @@ function build_vkd3d {
mkdir -p build/lib64-vkd3d
mkdir -p build/lib32-vkd3d

export CFLAGS="-pipe -O2 -ftree-vectorize"
export CPPFLAGS="-pipe -O2 -ftree-vectorize"
export CXXFLAGS="-pipe -O2 -ftree-vectorize"
export LDFLAGS="-Wl,-O1,--sort-common,--as-needed"
unset CFLAGS
unset CPPFLAGS
unset CXXFLAGS
unset LDFLAGS

meson --cross-file build-win64.txt -Denable_standalone_d3d12=True --buildtype release --strip -Denable_tests=false --prefix "$_nowhere"/vkd3d-proton/build/lib64-vkd3d "$_nowhere"/vkd3d-proton/build/lib64-vkd3d
cd "$_nowhere"/vkd3d-proton/build/lib64-vkd3d && ninja install
Expand Down

0 comments on commit f40439d

Please sign in to comment.