unwind: clean up warnings from the build
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 25 Apr 2015 02:06:15 +0000 (02:06 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 25 Apr 2015 02:06:15 +0000 (02:06 +0000)
commitea9c4fc75d5844bcbe50fec0ccefbee0a8d4c95b
tree77ebd6249f49bac9887ba4b4e1b617407b5d7d48
parent2ba9a21ad07777bd18afe6f0d93a86a5217a14d2
unwind: clean up warnings from the build

Now thta the build is split, clean up some of the warnings in the build:
  cc1: warning: command line option '-nostdinc++' is valid for C++/ObjC++ but not for C
  cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C

Append the C++ specific flags specifically to the C++ sources.  Avoids the
spurious warnings due to invalid flags being passed during the compilation of
C++ sources.

llvm-svn: 235797
libunwind/src/CMakeLists.txt