xref: /freebsd/contrib/bearssl/conf/Unix32.mk (revision af23369a6deaaeb612ab266eb88b8bb8d560c322)
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