From be3a77bd428612dc7c8b6bd0f76e51ef277f4fb0 Mon Sep 17 00:00:00 2001 From: Nathan Rajlich Date: Sun, 19 Aug 2012 11:11:47 -0700 Subject: [PATCH] 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. --- common.gypi | 1 - 1 file changed, 1 deletion(-) 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',