From 4eca73bbfcef4855e5926241d9e44ead9ecf94c9 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. --- common.gypi | 1 - 1 file changed, 1 deletion(-) diff --git a/common.gypi b/common.gypi index d8cb5323afa..b2a9bee2757 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',