Index: build/common.gypi |
=================================================================== |
--- build/common.gypi (revision 25977) |
+++ build/common.gypi (working copy) |
@@ -113,7 +113,7 @@ |
'linux_sandbox_path%': '', |
'conditions': [ |
- ['OS=="linux"', { |
+ ['OS=="linux" or OS=="freebsd"', { |
'conditions': [ |
['branding=="Chrome" or linux_chromium_breakpad==1', { |
'linux_breakpad%': 1, |
@@ -349,7 +349,7 @@ |
}, |
}, |
'conditions': [ |
- ['OS=="linux"', { |
+ ['OS=="linux" or OS=="freebsd"', { |
'target_defaults': { |
# Enable -Werror by default, but put it in a variable so it can |
# be disabled in ~/.gyp/include.gypi on the valgrind builders. |
@@ -561,6 +561,14 @@ |
], |
}, |
}], |
+ # Note that most FreeBSD options are set above, with Linux |
+ ['OS=="freebsd"', { |
+ 'target_defaults': { |
+ 'ldflags': [ |
+ '-Wl,--no-keep-memory', |
+ ], |
+ }, |
+ }], |
['OS=="mac"', { |
'target_defaults': { |
'variables': { |