mirror of https://gitee.com/bigwinds/arangodb
Disabled -Werror flag in v8 for mac build
This commit is contained in:
parent
7f509e2381
commit
acfaa59ea0
|
@ -375,8 +375,8 @@ class XcodeSettings(object):
|
||||||
if self._Test('GCC_SYMBOLS_PRIVATE_EXTERN', 'YES', default='NO'):
|
if self._Test('GCC_SYMBOLS_PRIVATE_EXTERN', 'YES', default='NO'):
|
||||||
cflags.append('-fvisibility=hidden')
|
cflags.append('-fvisibility=hidden')
|
||||||
|
|
||||||
if self._Test('GCC_TREAT_WARNINGS_AS_ERRORS', 'YES', default='NO'):
|
# if self._Test('GCC_TREAT_WARNINGS_AS_ERRORS', 'YES', default='NO'):
|
||||||
cflags.append('-Werror')
|
# cflags.append('-Werror')
|
||||||
|
|
||||||
if self._Test('GCC_WARN_ABOUT_MISSING_NEWLINE', 'YES', default='NO'):
|
if self._Test('GCC_WARN_ABOUT_MISSING_NEWLINE', 'YES', default='NO'):
|
||||||
cflags.append('-Wnewline-eof')
|
cflags.append('-Wnewline-eof')
|
||||||
|
|
|
@ -1357,7 +1357,6 @@ function updateGlobals() {
|
||||||
try {
|
try {
|
||||||
fs.removeDirectoryRecursive(module.oldAppPath(), true);
|
fs.removeDirectoryRecursive(module.oldAppPath(), true);
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
logger.warn("Unable to remove old app path " + module.oldAppPath());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 4. For each mounted app, reinstall appId from zipFile to mount
|
// 4. For each mounted app, reinstall appId from zipFile to mount
|
||||||
|
|
Loading…
Reference in New Issue