mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
gmp: work around ARM thumb build breakage
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
69f34bafa8
commit
d7139cd936
@ -9,5 +9,10 @@ GMP_SITE = $(BR2_GNU_MIRROR)/gmp
|
|||||||
GMP_SOURCE = gmp-$(GMP_VERSION).tar.bz2
|
GMP_SOURCE = gmp-$(GMP_VERSION).tar.bz2
|
||||||
GMP_INSTALL_STAGING = YES
|
GMP_INSTALL_STAGING = YES
|
||||||
|
|
||||||
|
# Bad ARM assembly breaks on pure thumb
|
||||||
|
ifeq ($(ARCH),arm)
|
||||||
|
GMP_MAKE_OPT += CFLAGS="$(TARGET_CFLAGS) -marm"
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(call AUTOTARGETS))
|
$(eval $(call AUTOTARGETS))
|
||||||
$(eval $(call AUTOTARGETS,host))
|
$(eval $(call AUTOTARGETS,host))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user