From 9b935a0ea838595f1dd10e8fdb50f18c9b7a6c76 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 28 Feb 2017 19:02:51 -0800 Subject: [PATCH] configure.ac: default to -O3 Default to -O3 instead of -O2. The code gets somewhat bigger, but nasm is full of tiny functions called from all over the place. Signed-off-by: H. Peter Anvin --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index a6090e05..2ed6a66a 100644 --- a/configure.ac +++ b/configure.ac @@ -16,6 +16,9 @@ AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_INSTALL +dnl For gcc, at lest, use -O3 +PA_ADD_CFLAGS([-O3]) + dnl Check for library extension PA_LIBEXT -- 2.11.4.GIT