mirror of
https://github.com/limine-bootloader/limine
synced 2025-01-20 19:42:03 +03:00
build: Default to -O2 optimisation instead of -O3
This commit is contained in:
parent
5f61730f26
commit
57194bc15e
@ -185,7 +185,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