build, gyp: set xcode flags
This commit is contained in:
parent
ffa432451d
commit
234b1e046b
24
uv.gyp
24
uv.gyp
@ -26,6 +26,30 @@
|
|||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
],
|
],
|
||||||
|
'xcode_settings': {
|
||||||
|
'conditions': [
|
||||||
|
[ 'clang==1', {
|
||||||
|
'WARNING_CFLAGS': [
|
||||||
|
'-Wall',
|
||||||
|
'-Wextra',
|
||||||
|
'-Wno-unused-parameter',
|
||||||
|
'-Wno-dollar-in-identifier-extension'
|
||||||
|
]}, {
|
||||||
|
'WARNING_CFLAGS': [
|
||||||
|
'-Wall',
|
||||||
|
'-Wextra',
|
||||||
|
'-Wno-unused-parameter'
|
||||||
|
]}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
'OTHER_LDFLAGS': [
|
||||||
|
],
|
||||||
|
'OTHER_CFLAGS': [
|
||||||
|
'-g',
|
||||||
|
'--std=gnu89',
|
||||||
|
'-pedantic'
|
||||||
|
],
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
'targets': [
|
'targets': [
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user