2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-22 09:57:21 +01:00

hlsdk wscript fix (#82)

* hlsdk wscript fix

* indentation fix
This commit is contained in:
Aydar Zarifullin 2019-06-09 04:25:26 +04:00 committed by Alibek Omarov
parent 5c771b851a
commit c2e3b70b37

View File

@ -7,7 +7,6 @@ from waflib import Logs
import sys
import os
sys.path.append(os.path.realpath('scripts/waflib'))
import fwgslib
VERSION = '2.4'
APPNAME = 'hlsdk-xash3d'
@ -128,11 +127,11 @@ def configure(conf):
}
}
conf.env.append_unique('CFLAGS', fwgslib.get_flags_by_type(
conf.env.append_unique('CFLAGS', conf.get_flags_by_type(
compiler_c_cxx_flags, conf.options.BUILD_TYPE, conf.env.COMPILER_CC))
conf.env.append_unique('CXXFLAGS', fwgslib.get_flags_by_type(
conf.env.append_unique('CXXFLAGS', conf.get_flags_by_type(
compiler_c_cxx_flags, conf.options.BUILD_TYPE, conf.env.COMPILER_CC))
conf.env.append_unique('LINKFLAGS', fwgslib.get_flags_by_type(
conf.env.append_unique('LINKFLAGS', conf.get_flags_by_type(
linker_flags, conf.options.BUILD_TYPE, conf.env.COMPILER_CC))
if conf.env.COMPILER_CC == 'msvc':