Fix error when cross compilation
This commit is contained in:
		
					parent
					
						
							
								b25175a19a
							
						
					
				
			
			
				commit
				
					
						81c23b84e7
					
				
			
		
					 2 changed files with 7 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -245,7 +245,7 @@
 | 
			
		|||
          }],  # OS=="win"
 | 
			
		||||
        ],
 | 
			
		||||
      }],
 | 
			
		||||
      ['OS=="linux" and _target_name in ["dump_syms", "node"]', {
 | 
			
		||||
      ['OS=="linux" and _toolset=="target" and _target_name in ["dump_syms", "node"]', {
 | 
			
		||||
        'conditions': [
 | 
			
		||||
          ['libchromiumcontent_component==0', {
 | 
			
		||||
            'libraries': [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -129,7 +129,7 @@
 | 
			
		|||
              'OTHER_LDFLAGS': [ '-stdlib=libc++' ],
 | 
			
		||||
            },
 | 
			
		||||
          }],
 | 
			
		||||
          ['OS=="linux"', {
 | 
			
		||||
          ['OS=="linux" and _toolset=="target"', {
 | 
			
		||||
            'cflags_cc': [
 | 
			
		||||
              '-std=gnu++14',
 | 
			
		||||
              '-nostdinc++',
 | 
			
		||||
| 
						 | 
				
			
			@ -140,6 +140,11 @@
 | 
			
		|||
              '-nostdlib++',
 | 
			
		||||
            ],
 | 
			
		||||
          }],
 | 
			
		||||
          ['OS=="linux" and _toolset=="host"', {
 | 
			
		||||
            'cflags_cc': [
 | 
			
		||||
              '-std=gnu++14',
 | 
			
		||||
            ],
 | 
			
		||||
          }],
 | 
			
		||||
        ],
 | 
			
		||||
      },
 | 
			
		||||
    }],  # clang==1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue