build: don't use "-Wnewline-eof" on OS X
authorNathan Rajlich <nathan@tootallnate.net>
Sun, 19 Aug 2012 18:11:47 +0000 (11:11 -0700)
committerNathan Rajlich <nathan@tootallnate.net>
Mon, 20 Aug 2012 15:18:14 +0000 (08:18 -0700)
commitbe3a77bd428612dc7c8b6bd0f76e51ef277f4fb0
treecc0262caf69708ffe40ec0606033721d7e65eef6
parent9918e5d4f6fbc8fe63d0395170a2daef2484d17a
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