File tree Expand file tree Collapse file tree
libcperciva/apisupport/Build Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ libscrypt_sse2_la_CFLAGS=`. ./cpusupport-config.h; echo $${CFLAGS_X86_SSE2}`
157157noinst_LTLIBRARIES+ = libscrypt_memlimit.la
158158libscrypt_memlimit_la_SOURCES = lib-platform/util/memlimit.c \
159159 lib-platform/util/memlimit.h
160- libscrypt_memlimit_la_CFLAGS =-U_POSIX_C_SOURCE -U_XOPEN_SOURCE
160+ libscrypt_memlimit_la_CFLAGS =` . ./apisupport-config.h ; echo $$ {CFLAGS_NONPOSIX_MEMLIMIT} `
161161
162162# Install libscrypt-kdf?
163163if LIBSCRYPT_KDF
Original file line number Diff line number Diff line change 1+ #include "platform.h"
2+
3+ #ifdef HAVE_SYS_PARAM_H
4+ #include <sys/param.h>
5+ #endif
6+ #ifdef HAVE_SYS_SYSCTL_H
7+ #include <sys/sysctl.h>
8+ #endif
9+ #ifdef HAVE_SYS_SYSINFO_H
10+ #include <sys/sysinfo.h>
11+ #endif
12+
13+ int
14+ main (void )
15+ {
16+
17+ /* Success! */
18+ return (0 );
19+ }
Original file line number Diff line number Diff line change 7474feature NONPOSIX SETGROUPS " " " " \
7575 " -U_POSIX_C_SOURCE -U_XOPEN_SOURCE" \
7676 " -U_POSIX_C_SOURCE -U_XOPEN_SOURCE -Wno-reserved-id-macro"
77+ feature NONPOSIX MEMLIMIT " " " " \
78+ " -U_POSIX_C_SOURCE -U_XOPEN_SOURCE" \
79+ " -U_POSIX_C_SOURCE -U_XOPEN_SOURCE -Wno-reserved-id-macro"
7780
7881# Detect how to compile libssl and libcrypto code.
7982feature LIBSSL HOST_NAME " -lssl" " " \
You can’t perform that action at this time.
0 commit comments