File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ LIBS_SHARED='OFF'
5252CMAKE_TOOLCHAIN=' '
5353# Always reset flags, we heavily cross-compile and must not inherit any stray flag
5454# from environment.
55- CFLAGS=' '
56- CXXFLAGS=' '
55+ CFLAGS=' -O3 '
56+ CXXFLAGS=' -O3 '
5757CPPFLAGS=' '
5858LDFLAGS=' '
5959
@@ -187,8 +187,7 @@ build_pkgconfig() {
187187
188188 cd " ${dir_name} "
189189
190- # The default -O2 is dropped when there's user-provided CFLAGS.
191- CFLAGS=" ${CFLAGS} -O2" configure_build --with-internal-glib
190+ configure_build --with-internal-glib
192191}
193192
194193# Build NASM
@@ -273,8 +272,7 @@ build_gmp() {
273272 ;;
274273 esac
275274
276- # The default -O2 is dropped when there's user-provided CFLAGS.
277- CFLAGS=" ${CFLAGS} -O2" configure_build " ${gmp_configure_args[@]} "
275+ configure_build " ${gmp_configure_args[@]} "
278276
279277 case " ${PLATFORM} " in
280278 windows-* -msvc)
@@ -297,8 +295,7 @@ build_nettle() {
297295
298296 cd " ${dir_name} "
299297
300- # The default -O2 is dropped when there's user-provided CFLAGS.
301- CFLAGS=" ${CFLAGS} -O2" configure_build
298+ configure_build
302299}
303300
304301# Build cURL
@@ -724,8 +721,7 @@ build_opusfile() {
724721
725722 cd " ${dir_name} "
726723
727- # The default -O2 is dropped when there's user-provided CFLAGS.
728- CFLAGS=" ${CFLAGS} -O2" configure_build --disable-http
724+ configure_build --disable-http
729725}
730726
731727# Build Lua
You can’t perform that action at this time.
0 commit comments