Skip to content

Commit

Permalink
rt: make jemalloc header conform to android signature.
Browse files Browse the repository at this point in the history
  • Loading branch information
graydon committed Aug 19, 2013
1 parent 0dceabd commit 2c71645
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/rt/jemalloc/configure.ac
Expand Up @@ -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"
Expand Down

4 comments on commit 2c71645

@bors
Copy link
Contributor

@bors bors commented on 2c71645 Aug 20, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from thestinger
at graydon@2c71645

@bors
Copy link
Contributor

@bors bors commented on 2c71645 Aug 20, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@bors
Copy link
Contributor

@bors bors commented on 2c71645 Aug 20, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@bors
Copy link
Contributor

@bors bors commented on 2c71645 Aug 20, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.