Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
build, gyp: set xcode flags
Browse files Browse the repository at this point in the history
  • Loading branch information
recp authored and saghul committed Sep 17, 2014
1 parent ffa4324 commit 234b1e0
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions uv.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -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': [
Expand Down

0 comments on commit 234b1e0

Please sign in to comment.