mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 08:14:09 -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 \
|
||||
--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))
|
||||
|
||||
Reference in New Issue
Block a user