disable gperftools lib

This commit is contained in:
nillerusr
2020-11-13 15:23:19 +03:00
parent cbe073d167
commit 58843794cc
2 changed files with 8 additions and 10 deletions
+1 -3
View File
@@ -33,11 +33,10 @@ $Configuration
$OutputFile "$SRCDIR/../game/$OUTBINNAME"
// In order to get the Valve standard allocator memory alignment (16-byte
// alignment for objects that are a multiple of 16 bytes) we use tcmalloc.
// Using -l will ask the linker to use it, but if there are no references
// to malloc/free then it may not actually use it. Wrapping the flag in the
// as-needed controls forces it to be pulled in (from libtcmalloc_minimal.so).
$GCC_ExtraLinkerFlags "-Wl,--no-as-needed -ltcmalloc_minimal -Wl,--as-needed" [$LINUXALL&&!$DEDICATED]
$GCC_ExtraLinkerFlags "-Wl,--no-as-needed -Wl,--as-needed" [$LINUXALL&&!$DEDICATED]
}
}
@@ -65,7 +64,6 @@ $Project
$Folder "Link Libraries" [$LINUXALL&&!$DEDICATED]
{
$File "$SRCDIR/thirdparty/gperftools-2.0/.libs/libtcmalloc_minimal.so"
}
}