mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-28 10:07:30 +09:00
Issue #1338 - Un-bust building of NSS after update to 3.48 on Linux.
This commit is contained in:
parent
d43f7275d0
commit
b299b34492
2 changed files with 2 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ ifeq ($(USE_PTHREADS),1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
DEFAULT_COMPILER = gcc
|
DEFAULT_COMPILER = gcc
|
||||||
DEFINES += -D_DEFAULT_SOURCE -D_BSD_SOURCE
|
DEFINES += -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE
|
||||||
|
|
||||||
ifeq ($(OS_TARGET),Android)
|
ifeq ($(OS_TARGET),Android)
|
||||||
ifndef ANDROID_NDK
|
ifndef ANDROID_NDK
|
||||||
|
|
|
||||||
|
|
@ -357,6 +357,7 @@
|
||||||
'linux',
|
'linux',
|
||||||
'_DEFAULT_SOURCE', # for <endian.h> functions, strdup, realpath, and getentropy
|
'_DEFAULT_SOURCE', # for <endian.h> functions, strdup, realpath, and getentropy
|
||||||
'_BSD_SOURCE', # for the above in glibc <= 2.19
|
'_BSD_SOURCE', # for the above in glibc <= 2.19
|
||||||
|
'_POSIX_SOURCE', # for <signal.h>
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
[ 'OS=="dragonfly" or OS=="freebsd"', {
|
[ 'OS=="dragonfly" or OS=="freebsd"', {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue