aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-07-13 12:44:42 -0400
committerJack Lloyd <[email protected]>2018-07-13 12:44:42 -0400
commitc313438ba6aee9f332515284bff751acdcbaaff7 (patch)
tree2f2777c7be73d9e9de7a5752f021548d2eb8756c /src/build-data
parent4dd082ad700d3436530bec46767603c7d53588a6 (diff)
Set a macro when optimizing for size
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/buildh.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index f34cf26a3..653c56bc7 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -87,6 +87,10 @@
#define BOTAN_ENABLE_DEBUG_ASSERTS
%{endif}
+%{if optimize_for_size}
+#define BOTAN_OPTIMIZE_FOR_SIZE
+%{endif}
+
/*
* Module availability definitions
*/