jamvm: force ARM mode when building to avoid thumb2 build problems
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
fa0cea21cd
commit
ac3ee237d9
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user