mirror of
https://github.com/flathub/org.yuzu_emu.yuzu.git
synced 2025-04-09 20:57:58 +00:00
add compiler optimization flags
This commit is contained in:
parent
8a4f39f9b6
commit
84b01df518
@ -264,6 +264,13 @@
|
|||||||
"config-opts": [
|
"config-opts": [
|
||||||
"-DENABLE_OPENGL=OFF"
|
"-DENABLE_OPENGL=OFF"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"x86_64": {
|
||||||
|
"config-opts": [
|
||||||
|
"-DYUZU_ENABLE_LTO=ON",
|
||||||
|
"-DCMAKE_C_FLAGS=$CFLAGS -lxml2 -march=x86-64-v3 -mtune=generic -Ofast",
|
||||||
|
"-DCMAKE_CXX_FLAGS=$CXXFLAGS -lxml2 -march=x86-64-v3 -mtune=generic -Ofast"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user