build: Default to -O2 optimisation instead of -O3
This commit is contained in:
parent
06427cf25a
commit
1e73ba4e5a
@ -166,7 +166,7 @@ AC_ARG_VAR(CROSS_OBJCOPY, [objcopy command for Limine])
|
||||
AC_ARG_VAR(CROSS_OBJDUMP, [objdump command for Limine])
|
||||
AC_ARG_VAR(CROSS_READELF, [readelf command for Limine])
|
||||
|
||||
m4_define([DEFAULT_CROSS_CFLAGS], [-O3 -pipe -Wall -Wextra])
|
||||
m4_define([DEFAULT_CROSS_CFLAGS], [-g -O2 -pipe -Wall -Wextra])
|
||||
AC_ARG_VAR(CROSS_CFLAGS, [C flags for Limine @<:@default: ]DEFAULT_CROSS_CFLAGS[@:>@])
|
||||
test "x$CROSS_CFLAGS" = "x" && CROSS_CFLAGS="DEFAULT_CROSS_CFLAGS"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user