xref: /freebsd/contrib/bearssl/conf/Unix32.mk (revision d8ffc21c5ca6f7d4f2d9a65dc6308699af0b6a01)
1# Example configuration file for compiling on a Unix-like system with
2# GCC, targeting a 32-bit output. Moreover, it enables the "LOMUL" setting
3# to make the code select the "small" integer implementations (i15, m15,
4# ctmul32...), which is not necessarily a good idea for performance, but
5# handy for tests.
6
7include conf/Unix.mk
8
9BUILD = build32
10CFLAGS = -W -Wall -Os -fPIC -m32 -DBR_LOMUL
11LDFLAGS = -m32
12LDDLLFLAGS = -shared -m32
13