aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/BearSSL/conf/Unix32.mk
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/BearSSL/conf/Unix32.mk')
-rw-r--r--test/monniaux/BearSSL/conf/Unix32.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/monniaux/BearSSL/conf/Unix32.mk b/test/monniaux/BearSSL/conf/Unix32.mk
new file mode 100644
index 00000000..0d3bed88
--- /dev/null
+++ b/test/monniaux/BearSSL/conf/Unix32.mk
@@ -0,0 +1,12 @@
+# Example configuration file for compiling on a Unix-like system with
+# GCC, targeting a 32-bit output. Moreover, it enables the "LOMUL" setting
+# to make the code select the "small" integer implementations (i15, m15,
+# ctmul32...), which is not necessarily a good idea for performance, but
+# handy for tests.
+
+include conf/Unix.mk
+
+BUILD = build32
+CFLAGS = -W -Wall -Os -fPIC -m32 -DBR_LOMUL
+LDFLAGS = -m32
+LDDLLFLAGS = -shared -m32