Commit ac3ee237 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

jamvm: force ARM mode when building to avoid thumb2 build problems

parent fa0cea21
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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))