|
@@ -26,8 +26,8 @@ LIBGCRYPT_CONF_OPTS += --disable-asm
|
|
endif
|
|
endif
|
|
|
|
|
|
# Code doesn't build in thumb mode
|
|
# Code doesn't build in thumb mode
|
|
-ifeq ($(BR2_arm),y)
|
|
|
|
-LIBGCRYPT_CONF_ENV += CFLAGS="$(patsubst -mthumb,,$(TARGET_CFLAGS))"
|
|
|
|
|
|
+ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y)
|
|
|
|
+LIBGCRYPT_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -marm"
|
|
endif
|
|
endif
|
|
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(autotools-package))
|