forked from pool/memkind
- Update to version 1.14.0 + Provided a memtier binary for common uses of memory tiering + Added memkind memtier API header file to installed headers + Added missing information in memkind memtier manpages + Upgraded jemalloc internal library to version 5.3.0 - Fixes to security issues + Added fixed kind for user-supplied memory area (along with the C++ allocator) + Provided a function memkind_get_capacity() to get the memory capacity of nodes available to a given kind + Added logging to file mechanism (enabled with an --enable-logging-to-file configure parameter) + Fixed wrong NUMA nodes masks for some of static kinds + Fixed building for different malloc_usable_size() implementations OBS-URL: https://build.opensuse.org/request/show/1035103 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/memkind?expand=0&rev=30
15 lines
622 B
Diff
15 lines
622 B
Diff
Index: configure.ac
|
|
===================================================================
|
|
--- configure.ac.orig
|
|
+++ configure.ac
|
|
@@ -158,6 +158,9 @@ if test "x$enable_secure" = "x1" ; then
|
|
|
|
if test "$CFLAGS" != "${CFLAGS%-O0*}" ; then # if CFLAGS contains -O0
|
|
echo "WARNING: Could not apply FORTIFY_SOURCE=2 due to lack of optimization (-O0)"
|
|
+ elif test "$CFLAGS" != "${CFLAGS%-D_FORTIFY_SOURCE*}"; then
|
|
+ # CFLAGS already has FORTIFY_SOURCE, don't redefine
|
|
+ :
|
|
else
|
|
CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" #FORTITFY_SOURCE does not work with -O0 (ex. if enable_debug=1 or enable_gcov=1)
|
|
fi
|