-
Notifications
You must be signed in to change notification settings - Fork 1
/
mac.gypi
36 lines (36 loc) · 885 Bytes
/
mac.gypi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
# compiler settings to build the nanomsg library
'xcode_settings': {
'OTHER_CFLAGS': [
'-g', # debug
'-O1',
'-fvisibility=hidden',
'-DMILL_EXPORTS',
'-U_FORTIFY_SOURCE',
'-D_FORTIFY_SOURCE=0',
'-DHAVE_MPROTECT',
'-DHAVE_POSIX_MEMALIGN',
'-D_GNU_SOURCE',
'-std=gnu99',
'-Wno-uninitialized',
'-Wno-unused',
'-Wno-sign-compare',
'-Wno-missing-field-initializers',
]
},
'defines': [
'MILL_KQUEUE',
'HAVE_POSIX_MEMALIGN',
'HAVE_MPROTECT',
'MILL_NO_EPOLL'
],
'direct_dependent_settings': {
# build nanomsg hub with same compiler flags as the library
'defines': [
'MILL_KQUEUE',
'HAVE_POSIX_MEMALIGN',
'HAVE_MPROTECT',
'MILL_NO_EPOLL'
],
}
}