Skip to content

Commit bc8a25a

Browse files
committed
scons fixes for fts and --32
1 parent 33600ec commit bc8a25a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

SConstruct

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,7 @@ elif os.sys.platform.startswith("linux"):
518518

519519
if force32:
520520
env.Append( EXTRALIBPATH=["/usr/lib32"] )
521+
env.Append( CCFLAGS=["-mmmx"] )
521522

522523
nix = True
523524

src/mongo/db/fts/SConscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ env.Command( [ "stop_words_list.h", "stop_words_list.cpp"],
2828
hack = env.Clone()
2929
hack.StaticLibrary( "stopwords", [ "stop_words_list.cpp" ] )
3030
if "-O3" in hack["CCFLAGS"]:
31-
hack["CCFLAGS"] = hack["CCFLAGS"].remove( "-O3" )
31+
hack["CCFLAGS"].remove( "-O3" )
3232

3333
env.StaticLibrary('base', [
3434
'fts_index_format.cpp',

0 commit comments

Comments
 (0)