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