|
@@ -19,6 +19,12 @@ LIBXSLT_CONF_OPTS = \
|
|
|
LIBXSLT_CONFIG_SCRIPTS = xslt-config
|
|
|
LIBXSLT_DEPENDENCIES = libxml2
|
|
|
|
|
|
+# GCC bug with Os/O2/O3, PR77311
|
|
|
+# error: unable to find a register to spill in class 'CCREGS'
|
|
|
+ifeq ($(BR2_bfin),y)
|
|
|
+LIBXSLT_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -O1"
|
|
|
+endif
|
|
|
+
|
|
|
# If we have enabled libgcrypt then use it, else disable crypto support.
|
|
|
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
|
|
LIBXSLT_DEPENDENCIES += libgcrypt
|