diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-13 04:23:22 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-13 04:23:22 +0000 |
commit | 817f0f142f483482337a44faaff5ab0bb18462bc (patch) | |
tree | 5b508b221a9f86fa576ebfa7dcc2b557f0660a68 /build/common.gypi | |
parent | 54be5b4bee355cc17d9f66dbd0f7343bfcc1655c (diff) | |
download | chromium_src-817f0f142f483482337a44faaff5ab0bb18462bc.zip chromium_src-817f0f142f483482337a44faaff5ab0bb18462bc.tar.gz chromium_src-817f0f142f483482337a44faaff5ab0bb18462bc.tar.bz2 |
OpenBSD and FreeBSD fixes for base.
OpenBSD and FreeBSD need -I/usr/local/include for <execinfo.h>.
Use !#/usr/bin/env bash because on !linux it's not located there.
Patch by Robert Nagy <robert@openbsd.org>
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8228005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105257 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r-- | build/common.gypi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build/common.gypi b/build/common.gypi index 0fb69bb..7635514e 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -1138,13 +1138,15 @@ '-Wsign-compare', ] }], - [ 'os_posix==1 and OS!="mac" and chromeos==0', { + [ 'os_posix==1 and OS!="mac" and OS!="openbsd" and chromeos==0', { 'cflags': [ # Don't warn about ignoring the return value from e.g. close(). # This is off by default in some gccs but on by default in others. # Currently this option is not set for Chrome OS build because # the current version of gcc (4.3.4) used for building Chrome in # Chrome OS chroot doesn't support this option. + # OpenBSD does not support this option either, since it's using + # gcc 4.2.1, which does not have this flag yet. # TODO(mazda): remove the conditional for Chrome OS when gcc # version is upgraded. '-Wno-unused-result', |