diff options
author | Nicola Murino <nicola.murino@gmail.com> | 2017-01-25 01:11:15 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2017-01-25 10:46:29 +0200 |
commit | a041bb1d0eac0ee597b504992d88c25d776c42e0 (patch) | |
tree | 2e2f80b3e10e9e1a8ca8e5fd3eb04362db167005 /recipes/libvpx.recipe | |
parent | 61d2c6b70e13535c9f19f8934fe15fb783703d31 (diff) |
libvpx: Fix crash on win32
Using -mstackrealign solves the segfault when compiling with mingw
It was suggested by libvpx developers here:
https://bugs.chromium.org/p/webm/issues/detail?id=1363
https://bugzilla.gnome.org/show_bug.cgi?id=763663
Diffstat (limited to 'recipes/libvpx.recipe')
-rw-r--r-- | recipes/libvpx.recipe | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes/libvpx.recipe b/recipes/libvpx.recipe index c6668455..23e43fe5 100644 --- a/recipes/libvpx.recipe +++ b/recipes/libvpx.recipe @@ -66,6 +66,7 @@ class Recipe(recipe.Recipe): platform = 'win64' else: platform = 'win32' + self.append_env['CFLAGS'] += " -mstackrealign " # FIXME: elif self.config.target_platform == Platform.ANDROID: platform = 'android' |