mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Use NO_WCAST_ALIGN for sbin/gbde, this is more appropriate to fix the
alignment warnings than using WARNS=3, and it also works for clang. MFC after: 1 week
This commit is contained in:
parent
e347e23bfe
commit
c0a8e7ad42
1 changed files with 3 additions and 5 deletions
|
|
@ -7,11 +7,9 @@ SRCS+= rijndael-api-fst.c
|
|||
SRCS+= sha2.c
|
||||
SRCS+= g_bde_lock.c
|
||||
|
||||
# rijndael-fst.c does evil casting things which results in warnings on
|
||||
# 64 bit machines, the test-vectors check out however, so it works right.
|
||||
.if ${MACHINE_CPUARCH} != "i386"
|
||||
WARNS?= 3
|
||||
.endif
|
||||
# rijndael-fst.c does evil casting things which can results in warnings,
|
||||
# the test-vectors check out however, so it works right.
|
||||
NO_WCAST_ALIGN=
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../sys
|
||||
.PATH: ${.CURDIR}/../../sys/geom/bde \
|
||||
|
|
|
|||
Loading…
Reference in a new issue