Made Aegisub use -O2 on posix

Originally committed to SVN as r1119.
This commit is contained in:
Rodrigo Braz Monteiro 2007-04-23 02:58:49 +00:00
parent 0617076b72
commit 760cb49475
1 changed files with 2 additions and 0 deletions

View File

@ -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])