Skip to content

Commit

Permalink
G++ PCH for shared client
Browse files Browse the repository at this point in the history
  • Loading branch information
RedBeard0531 committed Nov 1, 2011
1 parent 7c59742 commit f3f72f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SConstruct
Expand Up @@ -732,6 +732,7 @@ if nix:
print( "ERROR: clang pch is broken for now" )
Exit(1)
env['Gch'] = env.Gch( [ "pch.h" ] )[0]
env['GchSh'] = env.GchSh( [ "pch.h" ] )[0]
elif os.path.exists('pch.h.gch'):
print( "removing precompiled headers" )
os.unlink('pch.h.gch') # gcc uses the file if it exists
Expand Down

0 comments on commit f3f72f6

Please sign in to comment.