Date: Mon, 22 Jul 2019 10:18:00 +0000 (UTC) From: Emmanuel Vadot <manu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r350210 - head/share/mk Message-ID: <201907221018.x6MAI0IZ037145@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: manu Date: Mon Jul 22 10:17:59 2019 New Revision: 350210 URL: https://svnweb.freebsd.org/changeset/base/350210 Log: arm: Use -O2 instead of -O as optimization flag When using Clang -O is equivalent to -O2, change it -O2 to make it consistent with other platforms. Reference: https://clang.llvm.org/docs/ClangCommandLineReference.html#optimization-level Submitted by: Daniel Engberg (daniel.engberg.lists@pyret.net) Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D21021 Modified: head/share/mk/sys.mk Modified: head/share/mk/sys.mk ============================================================================== --- head/share/mk/sys.mk Mon Jul 22 08:27:44 2019 (r350209) +++ head/share/mk/sys.mk Mon Jul 22 10:17:59 2019 (r350210) @@ -166,7 +166,7 @@ CC ?= c89 CFLAGS ?= -O .else CC ?= cc -.if ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "mips" +.if ${MACHINE_CPUARCH} == "mips" CFLAGS ?= -O -pipe .else CFLAGS ?= -O2 -pipe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907221018.x6MAI0IZ037145>