Skip to content

Instantly share code, notes, and snippets.

@nedgonaes
Last active December 13, 2015 20:18
Show Gist options
  • Save nedgonaes/4968362 to your computer and use it in GitHub Desktop.
Save nedgonaes/4968362 to your computer and use it in GitHub Desktop.
--- 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