-# $OpenBSD: Makefile.inc,v 1.6 2018/06/06 00:14:29 mortimer Exp $
+# $OpenBSD: Makefile.inc,v 1.7 2018/07/28 21:43:21 mortimer Exp $
LLVM_SRCS?= ${.CURDIR}/../../../llvm
CPPFLAGS+= -I${LLVM_SRCS}/include -I${.CURDIR}/../include -I${.OBJDIR} \
-I${.OBJDIR}/../include
CPPFLAGS+= -DNDEBUG
-.if ${MACHINE} == "amd64"
+.if (${MACHINE} == "amd64" || ${MACHINE} == "arm64")
CPPFLAGS+= -fno-ret-protector
.endif
CPPFLAGS+= -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS \