Only append -nostdinc++ for C++ source files

Authored by arichardson on Mar 31 2016, 6:19 PM.

Description

Only append -nostdinc++ for C++ source files

In C projects this fixes lots of warning output like this:
warning: argument unused during compilation: '-nostdinc++' [-Wunused-command-line-argument]

Details

Committed
arichardsonMar 31 2016, 7:30 PM
Parents
R32:52346836e143: Correctly determine language for more -std= flags
Branches
Unknown
Tags
Unknown