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