Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Unified Diff: build/standalone.gypi

Issue 663633002: Fix standalone build on Linux and Mac. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/standalone.gypi
diff --git a/build/standalone.gypi b/build/standalone.gypi
index 5a65fa5c8ef0b6be8ec88356059659fb3455666b..d335f05e49c5ce1b6c597f387eb8c60764b889e7 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)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698