mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
jamvm: force ARM mode when building to avoid thumb2 build problems
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -8,4 +8,10 @@ JAMVM_CONF_OPT = \
|
|||||||
--disable-shared \
|
--disable-shared \
|
||||||
--without-pic
|
--without-pic
|
||||||
|
|
||||||
|
# jamvm has ARM assembly code that cannot be compiled in Thumb2 mode,
|
||||||
|
# so we must force traditional ARM mode.
|
||||||
|
ifeq ($(BR2_arm),y)
|
||||||
|
JAMVM_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -marm"
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user