Disable frame pointer for i586

This commit is contained in:
Wildan M 2026-02-28 15:55:46 +07:00
parent 700101f28b
commit d07cdf6400
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -54,6 +54,12 @@ COOKBOOK_CONFIGURE_FLAGS+=(
)
fi
if [ "${CROSS_GNU_TARGET}" != "i586-unknown-redox" ]; then
COOKBOOK_CONFIGURE_FLAGS+=(
--enable-frame-pointer
)
fi
COOKBOOK_CONFIGURE_FLAGS+=(
--target="${CROSS_GNU_TARGET}"
--with-linker-hash-style=gnu
@ -64,7 +70,6 @@ COOKBOOK_CONFIGURE_FLAGS+=(
# --with-system-zlib
--enable-host-shared
--enable-threads=posix
--enable-frame-pointer
--enable-libstdcxx-threads
--with-bugurl="https://gitlab.redox-os.org/redox-os/gcc/-/issues"
)