gstreamer1: fix unaligned detection for nios2
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 24 Nov 2015 21:43:27 +0000 (22:43 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 24 Nov 2015 21:46:10 +0000 (22:46 +0100)
Fixes:
http://autobuild.buildroot.net/results/cc6/cc6a6cab4f8c405941a71c6665a7dc2e34c39cb9/
http://autobuild.buildroot.net/results/2a3/2a350ac8be87a25d7f87f240943c816932f80a14/

Similar to how we do it for arc/xtensa/microblaze.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gstreamer1/gstreamer1/gstreamer1.mk

index 526b0ec2169fcd18c19fcdf19bcf805ce3f09e92..d5982f9db436da173f669b7c4b0ae94f415fe557 100644 (file)
@@ -14,7 +14,7 @@ GSTREAMER1_LICENSE = LGPLv2+ LGPLv2.1+
 # Checking if unaligned memory access works correctly cannot be done when cross
 # compiling. For the following architectures there is no information available
 # in the configure script.
-ifeq ($(BR2_arc)$(BR2_xtensa)$(BR2_microblaze),y)
+ifeq ($(BR2_arc)$(BR2_xtensa)$(BR2_microblaze)$(BR2_nios2),y)
 GSTREAMER1_CONF_ENV = as_cv_unaligned_access=no
 endif
 ifeq ($(BR2_aarch64),y)