Only request C++11 when compiling C++ code.
authorBruce Dawson <brucedawson@google.com>
Fri, 9 Jan 2015 19:51:09 +0000 (11:51 -0800)
committerBruce Dawson <brucedawson@google.com>
Fri, 9 Jan 2015 19:51:09 +0000 (11:51 -0800)
commitc4457a8f623bb4f09542d98bdde9c33ca932c4a3
tree704ba286a2fd3ebac1a3b7c4fd044ac39efbae08
parentb9e0190938f62bf21df078e47190a62ba33ddab2
Only request C++11 when compiling C++ code.

Linux pdfium builds have 215 warnings of this form:
command line option -std=gnu++11 is valid for C++/ObjC++ but not for C

The obvious fix is to not request C++11 for C compilations. The only
complication was the the switch we are using is actually gnu++0x, not
gnu++11.

BUG=https://code.google.com/p/pdfium/issues/detail?id=102
R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/839163002
build/standalone.gypi