Fix build
This commit is contained in:
parent
9f545ab269
commit
853f9d8f40
10
AMBuilder
10
AMBuilder
@ -7,11 +7,11 @@ for i in SM.sdkInfo:
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
compiler = SM.DefaultHL2Compiler('.', i)
|
compiler = SM.DefaultHL2Compiler('.', i)
|
||||||
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SOURCEMOD14'], 'public'))
|
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SMCENTRAL'], 'public'))
|
||||||
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SOURCEMOD14'], 'public', 'sourcepawn'))
|
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SMCENTRAL'], 'public', 'sourcepawn'))
|
||||||
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SOURCEMOD14'], 'public', 'extensions'))
|
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SMCENTRAL'], 'public', 'extensions'))
|
||||||
#compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SOURCEMOD14'], 'public', 'jit'))
|
#compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SMCENTRAL'], 'public', 'jit'))
|
||||||
#compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SOURCEMOD14'], 'public', 'jit', 'x86'))
|
#compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SMCENTRAL'], 'public', 'jit', 'x86'))
|
||||||
|
|
||||||
if compiler.cc.name == 'gcc':
|
if compiler.cc.name == 'gcc':
|
||||||
compiler['CFLAGS'].append('-Wno-parentheses')
|
compiler['CFLAGS'].append('-Wno-parentheses')
|
||||||
|
Loading…
Reference in New Issue
Block a user