diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index 0d9549735ca5..578fcd54ffae 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -119,7 +119,7 @@ CLANG_NO_IAS= -no-integrated-as .endif CLANG_OPT_SMALL= -mstack-alignment=8 -mllvm -inline-threshold=3\ -mllvm -simplifycfg-dup-ret -mllvm -.if ${COMPILER_VERSION} > 30400 +.if ${COMPILER_VERSION} >= 30500 CLANG_OPT_SMALL+= -enable-gvn=false .endif CFLAGS.clang+= -Qunused-arguments