diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-10 18:17:14 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-10 18:17:14 +0100 |
commit | 93657762196ebdb396bc64cabaa12ca4bf4695c0 (patch) | |
tree | b4a0b1c94c71919c9b9ed6bb60d32de92facaee8 /security | |
parent | 0186023f4adebc5ff1bfc4ac4a3f3870d7dd68af (diff) | |
download | uxp-93657762196ebdb396bc64cabaa12ca4bf4695c0.tar.gz |
Issue #1338 - Un-bust building of NSS after update to 3.48 on Linux.
Diffstat (limited to 'security')
-rw-r--r-- | security/nss/coreconf/Linux.mk | 2 | ||||
-rw-r--r-- | security/nss/coreconf/config.gypi | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/security/nss/coreconf/Linux.mk b/security/nss/coreconf/Linux.mk index d07f8a3c5e..854d3ca96e 100644 --- a/security/nss/coreconf/Linux.mk +++ b/security/nss/coreconf/Linux.mk @@ -21,7 +21,7 @@ ifeq ($(USE_PTHREADS),1) endif DEFAULT_COMPILER = gcc -DEFINES += -D_DEFAULT_SOURCE -D_BSD_SOURCE +DEFINES += -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE ifeq ($(OS_TARGET),Android) ifndef ANDROID_NDK diff --git a/security/nss/coreconf/config.gypi b/security/nss/coreconf/config.gypi index 3b049111a8..adb344e795 100644 --- a/security/nss/coreconf/config.gypi +++ b/security/nss/coreconf/config.gypi @@ -357,6 +357,7 @@ 'linux', '_DEFAULT_SOURCE', # for <endian.h> functions, strdup, realpath, and getentropy '_BSD_SOURCE', # for the above in glibc <= 2.19 + '_POSIX_SOURCE', # for <signal.h> ], }], [ 'OS=="dragonfly" or OS=="freebsd"', { |