mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-04 09:30:00 +03:00
Add variables for library prefix, and static library, object and executable suffixes
This makes hacking on Makefile easier.
This commit is contained in:
parent
72ca7220f2
commit
5bee66d3ed
2 changed files with 40 additions and 26 deletions
|
|
@ -195,6 +195,10 @@ AC_DEFINE_UNQUOTED([CPU_SPINWAIT], [$CPU_SPINWAIT])
|
|||
|
||||
LD_PRELOAD_VAR="LD_PRELOAD"
|
||||
so="so"
|
||||
o="o"
|
||||
a="a"
|
||||
exe=
|
||||
lib="lib"
|
||||
|
||||
dnl Heap profiling uses the log(3) function.
|
||||
LIBS="$LIBS -lm"
|
||||
|
|
@ -277,6 +281,10 @@ AC_SUBST([abi])
|
|||
AC_SUBST([RPATH])
|
||||
AC_SUBST([LD_PRELOAD_VAR])
|
||||
AC_SUBST([so])
|
||||
AC_SUBST([o])
|
||||
AC_SUBST([a])
|
||||
AC_SUBST([exe])
|
||||
AC_SUBST([lib])
|
||||
|
||||
JE_COMPILABLE([__attribute__ syntax],
|
||||
[static __attribute__((unused)) void foo(void){}],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue