summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Abd-El-Malek <jam@chromium.org>2014-10-16 14:26:18 -0700
committerJohn Abd-El-Malek <jam@chromium.org>2014-10-16 14:26:18 -0700
commit175998fae0afeb321666d3f543b191a7e6bb6d51 (patch)
treefc8515994ea7730b44960a4fce04d19a3d16aee2
parentcbd8e1a584e2c0ffcb7aaf49d89a7696f5ebc916 (diff)
downloadpdfium-175998fae0afeb321666d3f543b191a7e6bb6d51.tar.xz
Fix standalone build on Linux and Mac.
BUG=423883 R=scottmg@chromium.org Review URL: https://codereview.chromium.org/663633002
-rw-r--r--build/standalone.gypi5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/standalone.gypi b/build/standalone.gypi
index 5a65fa5c8e..d335f05e49 100644
--- a/build/standalone.gypi
+++ b/build/standalone.gypi
@@ -147,8 +147,10 @@
'-Wall',
'-W',
'-Wno-unused-parameter',
- '-pthread', '-fno-exceptions',
+ '-pthread',
+ '-fno-exceptions',
'-fvisibility=hidden',
+ '-std=gnu++0x',
],
'cflags_cc': [
'-Wnon-virtual-dtor',
@@ -199,6 +201,7 @@
},
'xcode_settings': {
'ALWAYS_SEARCH_USER_PATHS': 'NO',
+ 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++11',
'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks
'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic
# (Equivalent to -fPIC)