mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
disable gperftools lib
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user