Created
June 8, 2011 08:57
-
-
Save andreaseger/1014056 to your computer and use it in GitHub Desktop.
mongodb compiling fix for ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From da09184386aedaddd091e497a283b68585f3b634 Mon Sep 17 00:00:00 2001 | |
From: Eger Andreas <[email protected]> | |
Date: Wed, 8 Jun 2011 09:36:56 +0200 | |
Subject: [PATCH 167/167] compiling fix for ubuntu | |
Signed-off-by: Eger Andreas <[email protected]> | |
--- | |
SConstruct | 2 +- | |
1 files changed, 1 insertions(+), 1 deletions(-) | |
diff --git a/SConstruct b/SConstruct | |
index 41383b1..83a83d8 100644 | |
--- a/SConstruct | |
+++ b/SConstruct | |
@@ -671,7 +671,7 @@ if nix: | |
env.Append( CPPFLAGS="-fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch" ) | |
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet | |
if linux: | |
- env.Append( CPPFLAGS=" -Werror " ) | |
+ #env.Append( CPPFLAGS=" -Werror " ) | |
env.Append( CPPFLAGS=" -fno-builtin-memcmp " ) # glibc's memcmp is faster than gcc's | |
env.Append( CXXFLAGS=" -Wnon-virtual-dtor " ) | |
env.Append( LINKFLAGS=" -fPIC -pthread -rdynamic" ) | |
-- | |
1.7.1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment