Last active
December 13, 2015 20:18
-
-
Save nedgonaes/4968362 to your computer and use it in GitHub Desktop.
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
--- build_detect_platform 2013-01-07 16:07:29.000000000 -0500 | |
+++ build_detect_platform 2013-02-16 14:28:06.000000000 -0500 | |
@@ -178,13 +178,6 @@ | |
PLATFORM_LIBS="$PLATFORM_LIBS -lsnappy" | |
fi | |
- # Test whether tcmalloc is available | |
- $CXX $CXXFLAGS -x c++ - -o /dev/null -ltcmalloc 2>/dev/null <<EOF | |
- int main() {} | |
-EOF | |
- if [ "$?" = 0 ]; then | |
- PLATFORM_LIBS="$PLATFORM_LIBS -ltcmalloc" | |
- fi | |
fi | |
PLATFORM_CCFLAGS="$PLATFORM_CCFLAGS $COMMON_FLAGS" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment