mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 01:08:39 +09:00
Issue #2058 - Apply patches from dbsoft to fix Mac and FreeBSD builds
This commit is contained in:
parent
cc42e14a23
commit
81d8af6565
1 changed files with 0 additions and 16 deletions
|
|
@ -55,31 +55,15 @@ for var in ('SCTP_SIMPLE_ALLOCATOR',
|
|||
DEFINES['INET6'] = 1
|
||||
|
||||
if CONFIG['OS_TARGET'] == 'WINNT':
|
||||
DEFINES['__Userspace_os_Windows'] = 1
|
||||
DEFINES['_LIB'] = 1
|
||||
else:
|
||||
DEFINES['__Userspace_os_%s' % CONFIG['OS_TARGET']] = 1
|
||||
|
||||
if CONFIG['OS_TARGET'] == 'Darwin':
|
||||
DEFINES['__APPLE_USE_RFC_2292'] = 1
|
||||
DEFINES['__APPLE__'] = False
|
||||
|
||||
if CONFIG['OS_TARGET'] == 'Linux':
|
||||
# to make sure that in6_pktinfo gets defined on all distros
|
||||
DEFINES['_GNU_SOURCE'] = True
|
||||
|
||||
if CONFIG['OS_TARGET'] == 'FreeBSD':
|
||||
DEFINES['__FreeBSD__'] = False
|
||||
|
||||
if CONFIG['OS_TARGET'] == 'NetBSD':
|
||||
DEFINES['__NetBSD__'] = False
|
||||
|
||||
if CONFIG['OS_TARGET'] == 'OpenBSD':
|
||||
DEFINES['__OpenBSD__'] = False
|
||||
|
||||
if CONFIG['OS_TARGET'] == 'DragonFly':
|
||||
DEFINES['__DragonFly__'] = False
|
||||
|
||||
NO_PGO = True # Don't PGO
|
||||
|
||||
if CONFIG['GNU_CC']:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue