Fix build

This commit is contained in:
Dr!fter 2013-09-01 21:44:26 -04:00
parent 9f545ab269
commit 853f9d8f40

View File

@ -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')