summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Rajlich <nathan@tootallnate.net>2012-08-19 11:11:47 -0700
committerNathan Rajlich <nathan@tootallnate.net>2012-08-20 08:18:14 -0700
commitbe3a77bd428612dc7c8b6bd0f76e51ef277f4fb0 (patch)
treecc0262caf69708ffe40ec0606033721d7e65eef6
parent9918e5d4f6fbc8fe63d0395170a2daef2484d17a (diff)
downloadnode-new-be3a77bd428612dc7c8b6bd0f76e51ef277f4fb0.tar.gz
build: don't use "-Wnewline-eof" on OS X
This is the only thing preventing a manually compiled version of GCC (rather than Apple's provided llvm-gcc or heavily modified gcc 4.2) from working properly, so we might as well enable support for that. With this patch I was able to compile node using a manually compiled gcc 4.7.1. Closes #3887.
-rw-r--r--common.gypi1
1 files changed, 0 insertions, 1 deletions
diff --git a/common.gypi b/common.gypi
index d8cb5323af..b2a9bee275 100644
--- a/common.gypi
+++ b/common.gypi
@@ -190,7 +190,6 @@
'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings
'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics
'GCC_VERSION': '4.2',
- 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof
'PREBINDING': 'NO', # No -Wl,-prebind
'MACOSX_DEPLOYMENT_TARGET': '10.5', # -mmacosx-version-min=10.5
'USE_HEADERMAP': 'NO',