diff --git a/src/hb-config.hh b/src/hb-config.hh
index b13215abf204db60b800b56b68b90b2abe5ce2dc..7e5abd0a2df19efd5aba13a0ae55870b161f68b6 100644
--- a/src/hb-config.hh
+++ b/src/hb-config.hh
@@ -48,10 +48,9 @@
 
 #ifdef HB_MINI
 #define HB_NO_AAT
-#define HB_NO_FALLBACK
+#define HB_NO_LEGACY
 #endif
 
-
 /* Closure. */
 
 #ifdef HB_NO_AAT
@@ -67,12 +66,15 @@
 #define HB_NO_SUBSET_CFF
 #endif
 
-#ifdef HB_NO_FALLBACK
+#ifdef HB_NO_LEGACY
+#define HB_NO_OT_LAYOUT_BLACKLIST
+#define HB_NO_OT_SHAPE_FALLBACK
+#endif
+
+#ifdef HB_NO_OT_SHAPE_FALLBACK
 #define HB_NO_OT_SHAPE_COMPLEX_ARABIC_FALLBACK
 #define HB_NO_OT_SHAPE_COMPLEX_HEBREW_FALLBACK
 #define HB_NO_OT_SHAPE_COMPLEX_THAI_FALLBACK
-#define HB_NO_OT_SHAPE_FALLBACK
-#define HB_NO_OT_SHAPE_FALLBACK
 #endif