Chromium 11.0.696.68
[chromium.git] / patches / patch-v8_build_common.gypi
1 $NetBSD$
2
3 --- v8/build/common.gypi.orig   2011-05-01 09:41:52 +0000
4 +++ v8/build/common.gypi
5 @@ -32,7 +32,7 @@
6      'visibility%': 'hidden',
7      'variables': {
8        'conditions': [
9 -        [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
10 +        [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="dragonfly"', {
11            # This handles the Linux platforms we generally deal with. Anything
12            # else gets passed through, which probably won't work very well; such
13            # hosts should pass an explicit target_arch to gyp.
14 @@ -60,7 +60,7 @@
15      },
16    },
17    'conditions': [
18 -    [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
19 +    [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" or OS=="dragonfly"', {
20        'target_defaults': {
21          'cflags': [ '-Wall', '-pthread', '-fno-rtti', '-fno-exceptions' ],
22          'ldflags': [ '-pthread', ],