mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
Merge branch 'maint-0.3.4'
This commit is contained in:
commit
ae157b79e7
4
changes/bug20424_029_minimal
Normal file
4
changes/bug20424_029_minimal
Normal file
@ -0,0 +1,4 @@
|
||||
o Minor bugfixes (compilation):
|
||||
- When compiling with --enable-openbsd-malloc or --enable-tcmalloc, tell
|
||||
the compiler not to include the system malloc implementation. Fixes bug
|
||||
20424; bugfix on 0.2.0.20-rc.
|
@ -1807,6 +1807,10 @@ fi
|
||||
if test "$using_custom_malloc" = "no"; then
|
||||
AC_CHECK_FUNCS(mallinfo)
|
||||
fi
|
||||
if test "$using_custom_malloc" = "yes"; then
|
||||
# Tell the C compiler not to use the system allocator functions.
|
||||
TOR_CHECK_CFLAGS([-fno-builtin-malloc -fno-builtin-realloc -fno-builtin-calloc -fno-builtin-free])
|
||||
fi
|
||||
|
||||
# By default, we're going to assume we don't have mlockall()
|
||||
# bionic and other platforms have various broken mlockall subsystems.
|
||||
|
Loading…
Reference in New Issue
Block a user