X-Git-Url: https://www.bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=conf%2FUnix32.mk;fp=conf%2FUnix32.mk;h=0d3bed8808b5c157bf21cd0d8dbe2371a2d403a0;hp=0000000000000000000000000000000000000000;hb=5f045c759957fdff8c85716e6af99e10901fdac0;hpb=556e525d62cd5559e74fe4d2777a59d33590a033 diff --git a/conf/Unix32.mk b/conf/Unix32.mk new file mode 100644 index 0000000..0d3bed8 --- /dev/null +++ b/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