summaryrefslogtreecommitdiff
path: root/build/standalone.gypi
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-02-24 16:54:08 -0800
committerLei Zhang <thestig@chromium.org>2016-02-24 16:54:08 -0800
commit969ea09df096b987662b9658e3ffa023ca4ebf70 (patch)
tree4b11e299e7057c19d44f3ed21d0651f2d4f26292 /build/standalone.gypi
parent5667203e6152eb9585aeaf9f755ecaa2664010f7 (diff)
downloadpdfium-969ea09df096b987662b9658e3ffa023ca4ebf70.tar.xz
Build PDFium with -std=c++11 instead of g++11.
R=thakis@chromium.org Review URL: https://codereview.chromium.org/1734593004 .
Diffstat (limited to 'build/standalone.gypi')
-rw-r--r--build/standalone.gypi4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/standalone.gypi b/build/standalone.gypi
index dfd5617683..f00af23aeb 100644
--- a/build/standalone.gypi
+++ b/build/standalone.gypi
@@ -182,7 +182,7 @@
'-fvisibility=hidden',
],
'cflags_cc': [
- '-std=gnu++0x',
+ '-std=c++11',
'-Wnon-virtual-dtor',
'-fno-rtti',
],
@@ -333,7 +333,7 @@
},
'xcode_settings': {
'ALWAYS_SEARCH_USER_PATHS': 'NO',
- 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++11',
+ 'CLANG_CXX_LANGUAGE_STANDARD': 'c++11',
'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks
'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic
# (Equivalent to -fPIC)