2016-10-25 21:04:42 +02:00
|
|
|
|
|
|
|
# Common flags to build FICL related files
|
|
|
|
|
2017-11-06 16:21:51 +01:00
|
|
|
.if ${MACHINE_CPUARCH} == "amd64" && ${DO32:U0} == 1
|
2016-10-25 21:04:42 +02:00
|
|
|
FICL_CPUARCH= i386
|
|
|
|
.else
|
|
|
|
FICL_CPUARCH= ${MACHINE_CPUARCH}
|
|
|
|
.endif
|
|
|
|
|
2017-11-06 16:22:24 +01:00
|
|
|
.if ${MACHINE_CPUARCH} == "amd64" && ${DO32:U0} == 0
|
2016-10-25 21:04:42 +02:00
|
|
|
CFLAGS+= -fPIC
|
|
|
|
.endif
|
|
|
|
|
2017-10-23 00:50:08 +02:00
|
|
|
CFLAGS+= -I${FICLSRC} -I${FICLSRC}/${FICL_CPUARCH} -I${LDRSRC}
|
2020-12-21 06:31:16 +01:00
|
|
|
CFLAGS+= -DBF_DICTSIZE=30000
|
2019-05-24 21:43:38 +02:00
|
|
|
|
2021-04-30 19:53:45 +02:00
|
|
|
.include "${BOOTSRC}/veriexec.mk"
|