summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlibcxxabi/lib/buildit2
-rw-r--r--libcxxabi/src/cxa_exception.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libcxxabi/lib/buildit b/libcxxabi/lib/buildit
index 51b9a81e9c4..d1d2acdaf9b 100755
--- a/libcxxabi/lib/buildit
+++ b/libcxxabi/lib/buildit
@@ -27,7 +27,7 @@ then
RC_ProjectSourceVersion=1
fi
-EXTRA_FLAGS="-std=c++0x -stdlib=libc++ -fstrict-aliasing -Wstrict-aliasing=2"
+EXTRA_FLAGS="-std=c++0x -stdlib=libc++ -fstrict-aliasing -Wstrict-aliasing=2 -Wnewline-eof"
case $TRIPLE in
*-apple-*)
diff --git a/libcxxabi/src/cxa_exception.hpp b/libcxxabi/src/cxa_exception.hpp
index d70de0eb6a5..cf019d4cd6b 100644
--- a/libcxxabi/src/cxa_exception.hpp
+++ b/libcxxabi/src/cxa_exception.hpp
@@ -115,4 +115,4 @@ static const uint64_t get_vendor_and_language = 0xFFFFFFFFFFFFFF00; // mask
extern "C" void __cxa_free_dependent_exception (void * dependent_exception);
#pragma GCC visibility pop
-} \ No newline at end of file
+}
OpenPOWER on IntegriCloud