Only request C++11 when compiling C++ code.
[pdfium.git] / build / standalone.gypi
index 0d650a3..645b9f2 100644 (file)
       '-pthread',
       '-fno-exceptions',
       '-fvisibility=hidden',
-      '-std=gnu++0x',
     ],
     'cflags_cc': [
+      '-std=gnu++0x',
       '-Wnon-virtual-dtor',
       '-fno-rtti',
     ],