build, gyp: set xcode flags

This commit is contained in:
Recep ASLANTAS 2014-09-15 21:08:34 +03:00 committed by Saúl Ibarra Corretgé
parent ffa432451d
commit 234b1e046b

24
uv.gyp
View File

@ -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': [