Set Mesa to compile with O3 and not Ofast

This commit is contained in:
mason 2023-12-01 14:40:24 +00:00
parent d8cfaa35dd
commit 70f5f3d53a
No known key found for this signature in database
GPG key ID: 84D9278A11FA112B

View file

@ -100,6 +100,11 @@ else
PKG_MESON_OPTS_TARGET+=" -Dvulkan-drivers="
fi
pre_configure_target() {
TARGET_CFLAGS=$(echo ${CFLAGS} | sed -e "s|-Ofast|-O3|")
TARGET_CXXFLAGS=$(echo ${CXXFLAGS} | sed -e "s|-Ofast|-O3|")
}
post_makeinstall_target() {
case ${DEVICE} in
S922X)