1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This file contains flags that are specific to o3d, but affect the build as a
# whole (e.g. build flags that change the ABI).
# For example, on linux amd64, all the libraries that will be linked into the
# plugin (skia, v8, ...) need to be compiled with -fPIC but we don't want to do
# that generally in Chrome (so it can't be lumped into the top-level
# build/common.gypi).
{
'target_defaults': {
'conditions': [
[ 'OS == "linux" and target_arch=="x64"', {
'cflags': [
'-m64',
'-fPIC',
],
'ldflags': [
'-m64',
],
}],
],
},
}
|