Only raise WARNS to 6 on i386 and amd64, strict alignment platforms still
barf at some of the gratuitous pointer gymnastics, and I do not see a simple solution.
This commit is contained in:
parent
9ec7a1f568
commit
47e493d28c
@ -7,6 +7,10 @@ MAN= routed.8
|
|||||||
SUBDIR= rtquery
|
SUBDIR= rtquery
|
||||||
LDADD= -lmd
|
LDADD= -lmd
|
||||||
DPADD= ${LIBMD}
|
DPADD= ${LIBMD}
|
||||||
|
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
|
||||||
WARNS?= 6
|
WARNS?= 6
|
||||||
|
.else
|
||||||
|
WARNS?= 0
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user