Skip to content
Permalink
Browse files

rt: make jemalloc header conform to android signature.

  • Loading branch information
graydon committed Aug 19, 2013
1 parent 0dceabd commit 2c7164595fd01f4a14763ed377aece1130de90c0
Showing with 9 additions and 0 deletions.
  1. +9 −0 src/rt/jemalloc/configure.ac
@@ -257,6 +257,15 @@ case "${host}" in
AC_DEFINE([JEMALLOC_PURGE_MADVISE_FREE], [ ])
force_lazy_lock="1"
;;
*-*-linux-android*)
CFLAGS="$CFLAGS"
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
abi="elf"
AC_DEFINE([JEMALLOC_HAS_ALLOCA_H])
AC_DEFINE([JEMALLOC_PURGE_MADVISE_DONTNEED], [ ])
AC_DEFINE([JEMALLOC_THREADED_INIT], [ ])
default_munmap="0"
;;
*-*-linux*)
CFLAGS="$CFLAGS"
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"

4 comments on commit 2c71645

@bors

This comment has been minimized.

Copy link
Contributor

@bors bors replied Aug 20, 2013

saw approval from thestinger
at graydon@2c71645

@bors

This comment has been minimized.

Copy link
Contributor

@bors bors replied Aug 20, 2013

merging graydon/rust/2013-08-19-jemalloc-enable = 2c71645 into auto

@bors

This comment has been minimized.

Copy link
Contributor

@bors bors replied Aug 20, 2013

graydon/rust/2013-08-19-jemalloc-enable = 2c71645 merged ok, testing candidate = d6caddf4

@bors

This comment has been minimized.

Copy link
Contributor

@bors bors replied Aug 20, 2013

Please sign in to comment.
You can’t perform that action at this time.