Permalink
Browse files

Fix --pch build for src/mongo change

  • Loading branch information...
1 parent 8819493 commit 7f94073f98554d026857321232c68ba728089a52 @RedBeard0531 RedBeard0531 committed Dec 30, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 SConstruct
View
@@ -832,8 +832,8 @@ if nix:
#env.Prepend( CXXFLAGS=' -include pch.h ' ) # clang++ only uses pch from command line
print( "ERROR: clang pch is broken for now" )
Exit(1)
- env['Gch'] = env.Gch( [ "pch.h" ] )[0]
- env['GchSh'] = env.GchSh( [ "pch.h" ] )[0]
+ env['Gch'] = env.Gch( [ "src/mongo/pch.h" ] )[0]
+ env['GchSh'] = env.GchSh( [ "src/mongo/pch.h" ] )[0]
elif os.path.exists( "src/mongo/pch.h.gch" ):
print( "removing precompiled headers" )
os.unlink( "src/mongo/pch.h.gch" ) # gcc uses the file if it exists

0 comments on commit 7f94073

Please sign in to comment.