From 760cb4947580c50b83cbd829a91aaf5578972a80 Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Mon, 23 Apr 2007 02:58:49 +0000 Subject: [PATCH] Made Aegisub use -O2 on posix Originally committed to SVN as r1119. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index dfd997b00..abc1c31c6 100644 --- a/configure.ac +++ b/configure.ac @@ -194,6 +194,7 @@ AC_PREPROC_IFELSE( [AC_MSG_RESULT([no])]) AC_C_FLAG([-Wall]) +AC_C_FLAG([-O2]) AC_C_FLAG([-Wextra],[AC_C_FLAG([-W])]) AC_C_FLAG([-Wno-unused-parameter]) AC_C_FLAG([-std=gnu99]) @@ -201,6 +202,7 @@ AC_CXX_FLAG([-Wall]) AC_CXX_FLAG([-Wextra],[AC_CXX_FLAG([-W])]) AC_CXX_FLAG([-Wno-unused-parameter]) AC_CXX_FLAG([-Wno-long-long]) +AC_CXX_FLAG([-O2]) AC_CXX_FLAG([-fpermissive]) AC_CXX_FLAG([-fno-strict-aliasing]) AC_CXX_FLAG([-std=c++98])