Skip to content
Snippets Groups Projects
Commit 1cf80317 authored by Brooks Davis's avatar Brooks Davis
Browse files

devel/llvm-{cheri,morello}: future-proof ABI arguments

-Xclang arguments may become unused with never compiler versions so
bracket them with --start-no-unused-arguments/--end-no-unused-arguments
to silence warnings.

Reported by:	jrtc27
Sponsored by:	DARPA, AFRL
parent b11f1c77
No related branches found
No related tags found
No related merge requests found
PORTNAME= llvm
PORTVERSION= ${LLVM_MAJOR}.0.d${SNAPDATE}
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= devel lang
PKGNAMESUFFIX= ${LLVM_SUFFIX}
......
......@@ -160,7 +160,7 @@ if [ $CHERIBSD_VERSION -gt 0 ]; then
vararg_flags="-Xclang -morello-vararg=new -Xclang -morello-bounded-memargs"
fi
arch_cflags="-march=morello -mabi=purecap $tls_flags $vararg_flags"
arch_cflags="-march=morello -mabi=purecap --start-no-unused-arguments $tls_flags $vararg_flags --end-no-unused-arguments"
arch_objdump_flags="--mattr=+morello"
else
vararg_flags=
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment