Various: Fixed obscure crashes on Mac

There were a couple of out-of-range/post-free accesses going on, which caused the Mac
build to crash when optimisations were turned on.
This commit is contained in:
Jonathan Poncelet
2019-07-12 16:13:03 +01:00
committed by Alibek Omarov
parent 661b53d0b3
commit 37255354d4
3 changed files with 6 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ def build(bld):
bld(
source = source,
target = 'xash3d', # hl.exe
features = 'c cprogram',
features = 'c cxx cxxprogram',
includes = includes,
use = libs,
install_path = bld.env.BINDIR,