Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(932)

Unified Diff: ffmpeg.gyp

Issue 8275011: add support for OpenBSD in ffmpeg (Closed) Base URL: http://git.chromium.org/chromium/deps/ffmpeg/source.git@master
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « config/Chromium/openbsd/x64/config.asm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ffmpeg.gyp
diff --git a/ffmpeg.gyp b/ffmpeg.gyp
index e609db07a777c1616b03a0133bb575c9fe88562e..a0c5cfc74833fa88ca37d19758d1ec1c5051509a 100644
--- a/ffmpeg.gyp
+++ b/ffmpeg.gyp
@@ -51,7 +51,7 @@
}, {
'ffmpeg_config%': '<(target_arch)',
}],
- ['OS=="mac" or OS=="win"', {
+ ['OS=="mac" or OS=="win" or OS=="openbsd"', {
'os_config%': '<(OS)',
}, { # all other Unix OS's use the linux config
'os_config%': 'linux',
@@ -228,6 +228,12 @@
],
},
}], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"
+ ['OS=="openbsd"', {
+ # OpenBSD's gcc (4.2.1) does not support this flag
+ 'cflags!': [
+ '-fno-signed-zeros',
+ ],
+ }],
['OS=="mac"', {
'conditions': [
['mac_breakpad==1', {
« no previous file with comments | « config/Chromium/openbsd/x64/config.asm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698