mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 23:41:03 +01:00
[config] Allow overriding HB_OPTIMIZE_SIZE
This commit is contained in:
1 parent
319a488b39
commit
e138319fcc
1 file changed
+6
-11
+6
-11
@@ -97,6 +97,12 @@
|
||||
#define HB_NO_BORING_EXPANSION
|
||||
#endif
|
||||
|
||||
#ifdef __OPTIMIZE_SIZE__
|
||||
#ifndef HB_OPTIMIZE_SIZE
|
||||
#define HB_OPTIMIZE_SIZE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_CONFIG_OVERRIDE_H) || defined(HB_CONFIG_OVERRIDE_H)
|
||||
#ifndef HB_CONFIG_OVERRIDE_H
|
||||
#define HB_CONFIG_OVERRIDE_H "config-override.h"
|
||||
@@ -175,17 +181,6 @@
|
||||
#define HB_NO_OT_SHAPER_MYANMAR_ZAWGYI
|
||||
#endif
|
||||
|
||||
#ifdef NDEBUG
|
||||
#ifndef HB_NDEBUG
|
||||
#define HB_NDEBUG
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __OPTIMIZE_SIZE__
|
||||
#ifndef HB_OPTIMIZE_SIZE
|
||||
#define HB_OPTIMIZE_SIZE
|
||||
#endif
|
||||
#endif
|
||||
#ifdef HB_OPTIMIZE_SIZE
|
||||
#define HB_OPTIMIZE_SIZE_VAL 1
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user