|
@@ -34,6 +34,13 @@ LIBKRB5_CONF_OPTS = \
|
|
--without-tcl \
|
|
--without-tcl \
|
|
--disable-rpath
|
|
--disable-rpath
|
|
|
|
|
|
|
|
+# libkrb5 has some assembly function that is not present in Thumb mode:
|
|
|
|
+# Error: selected processor does not support `mcr p15,0,r2,c7,c10,5' in Thumb mode
|
|
|
|
+# so, we desactivate Thumb mode
|
|
|
|
+ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y)
|
|
|
|
+LIBKRB5_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -marm"
|
|
|
|
+endif
|
|
|
|
+
|
|
# Enabling static and shared at the same time is not supported
|
|
# Enabling static and shared at the same time is not supported
|
|
ifeq ($(BR2_SHARED_STATIC_LIBS),y)
|
|
ifeq ($(BR2_SHARED_STATIC_LIBS),y)
|
|
LIBKRB5_CONF_OPTS += --disable-static
|
|
LIBKRB5_CONF_OPTS += --disable-static
|