mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
OpenRCT2: fix build type
By default it produces a debug build, which crashes on assertions instead of discarding them.
This commit is contained in:
parent
60bdb2e152
commit
87b5cfbbee
1 changed files with 4 additions and 2 deletions
|
@ -5,7 +5,7 @@ pkgname=OpenRCT2
|
||||||
_objects_version=1.0.21
|
_objects_version=1.0.21
|
||||||
_titles_version=0.1.2c
|
_titles_version=0.1.2c
|
||||||
version=0.3.3
|
version=0.3.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="
|
configure_args="
|
||||||
-DOPENRCT2_VERSION_TAG=${version}
|
-DOPENRCT2_VERSION_TAG=${version}
|
||||||
|
@ -37,6 +37,8 @@ skip_extraction="objects.zip title-sequences.zip"
|
||||||
|
|
||||||
replaces="OpenRCT2-data>=0"
|
replaces="OpenRCT2-data>=0"
|
||||||
|
|
||||||
|
CXXFLAGS="-DNDEBUG"
|
||||||
|
|
||||||
build_options="multiplayer scripting"
|
build_options="multiplayer scripting"
|
||||||
build_options_default="multiplayer scripting"
|
build_options_default="multiplayer scripting"
|
||||||
desc_option_multiplayer="Enable multiplayer support"
|
desc_option_multiplayer="Enable multiplayer support"
|
||||||
|
@ -48,7 +50,7 @@ fi
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" OpenRCT2"
|
hostmakedepends+=" OpenRCT2"
|
||||||
CXXFLAGS="-DHAVE_IMMINTRIN_H=false -DSDL_DISABLE_IMMINTRIN_H=1"
|
CXXFLAGS+=" -DHAVE_IMMINTRIN_H=false -DSDL_DISABLE_IMMINTRIN_H=1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue