mirror of https://github.com/procxx/kepka.git
				
				
				
			
		
			
				
	
	
		
			29 lines
		
	
	
		
			977 B
		
	
	
	
		
			Diff
		
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			977 B
		
	
	
	
		
			Diff
		
	
	
	
diff --git a/build/common.gypi b/build/common.gypi
 | 
						|
index 1affc70..0677e4b 100644
 | 
						|
--- a/build/common.gypi
 | 
						|
+++ b/build/common.gypi
 | 
						|
@@ -66,6 +66,13 @@
 | 
						|
           'conditions': [
 | 
						|
             ['clang!=0', {
 | 
						|
               'CLANG_CXX_LANGUAGE_STANDARD': 'c++11',  # -std=c++11
 | 
						|
+              'OTHER_CPLUSPLUSFLAGS': [ '-nostdinc++' ],
 | 
						|
+              'OTHER_LDFLAGS': [
 | 
						|
+                '/usr/local/macold/lib/libc++.a',
 | 
						|
+                '/usr/local/macold/lib/libc++abi.a',
 | 
						|
+                '-isysroot/',
 | 
						|
+                '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/',
 | 
						|
+              ],
 | 
						|
 
 | 
						|
               # Don't link in libarclite_macosx.a, see http://crbug.com/156530.
 | 
						|
               'CLANG_LINK_OBJC_RUNTIME': 'NO',      # -fno-objc-link-runtime
 | 
						|
@@ -116,6 +123,9 @@
 | 
						|
           ],
 | 
						|
 
 | 
						|
         },
 | 
						|
+        'include_dirs': [
 | 
						|
+          '/usr/local/macold/include/c++/v1',
 | 
						|
+        ],
 | 
						|
       }],
 | 
						|
 
 | 
						|
       ['OS=="linux"', {
 |