]>
Commit | Line | Data |
---|---|---|
04298a8b JB |
1 | --- mongodb-src-r2.0.1/SConstruct.orig 2011-10-22 02:52:16.000000000 +0200 |
2 | +++ mongodb-src-r2.0.1/SConstruct 2011-11-01 19:46:50.060469479 +0100 | |
3 | @@ -673,7 +673,6 @@ | |
105f2c53 PZ |
4 | env.Append( CPPFLAGS="-fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch" ) |
5 | # env.Append( " -Wconversion" ) TODO: this doesn't really work yet | |
6 | if linux: | |
7 | - env.Append( CPPFLAGS=" -Werror " ) | |
04298a8b JB |
8 | if not has_option('clang'): |
9 | env.Append( CPPFLAGS=" -fno-builtin-memcmp " ) # glibc's memcmp is faster than gcc's | |
10 | ||
04298a8b JB |
11 | @@ -732,10 +732,6 @@ |
12 | print( "removing precompiled headers" ) | |
13 | os.unlink('pch.h.gch') # gcc uses the file if it exists | |
14 | ||
15 | -if usev8: | |
16 | - env.Prepend( CPPPATH=["../v8/include/"] ) | |
17 | - env.Prepend( LIBPATH=["../v8/"] ) | |
18 | - | |
19 | if "uname" in dir(os): | |
20 | hacks = buildscripts.findHacks( os.uname() ) | |
21 | if hacks is not None: | |
22 | @@ -919,6 +915,10 @@ | |
23 | else: | |
24 | myCheckLib( "v8" , True ) | |
25 | ||
26 | + myCheckLib(["pcrecpp"], True) | |
27 | + myCheckLib(["pcre"], True) | |
28 | + myCheckLib(["snappy"], True) | |
29 | + | |
30 | # requires ports devel/libexecinfo to be installed | |
31 | if freebsd or openbsd: | |
32 | myCheckLib( "execinfo", True ) |