mirror of https://github.com/odrling/Aegisub
Made Aegisub use -O2 on posix
Originally committed to SVN as r1119.
This commit is contained in:
parent
0617076b72
commit
760cb49475
|
@ -194,6 +194,7 @@ AC_PREPROC_IFELSE(
|
||||||
[AC_MSG_RESULT([no])])
|
[AC_MSG_RESULT([no])])
|
||||||
|
|
||||||
AC_C_FLAG([-Wall])
|
AC_C_FLAG([-Wall])
|
||||||
|
AC_C_FLAG([-O2])
|
||||||
AC_C_FLAG([-Wextra],[AC_C_FLAG([-W])])
|
AC_C_FLAG([-Wextra],[AC_C_FLAG([-W])])
|
||||||
AC_C_FLAG([-Wno-unused-parameter])
|
AC_C_FLAG([-Wno-unused-parameter])
|
||||||
AC_C_FLAG([-std=gnu99])
|
AC_C_FLAG([-std=gnu99])
|
||||||
|
@ -201,6 +202,7 @@ AC_CXX_FLAG([-Wall])
|
||||||
AC_CXX_FLAG([-Wextra],[AC_CXX_FLAG([-W])])
|
AC_CXX_FLAG([-Wextra],[AC_CXX_FLAG([-W])])
|
||||||
AC_CXX_FLAG([-Wno-unused-parameter])
|
AC_CXX_FLAG([-Wno-unused-parameter])
|
||||||
AC_CXX_FLAG([-Wno-long-long])
|
AC_CXX_FLAG([-Wno-long-long])
|
||||||
|
AC_CXX_FLAG([-O2])
|
||||||
AC_CXX_FLAG([-fpermissive])
|
AC_CXX_FLAG([-fpermissive])
|
||||||
AC_CXX_FLAG([-fno-strict-aliasing])
|
AC_CXX_FLAG([-fno-strict-aliasing])
|
||||||
AC_CXX_FLAG([-std=c++98])
|
AC_CXX_FLAG([-std=c++98])
|
||||||
|
|
Loading…
Reference in New Issue