Double-check fixes: BRIDGE_NETFILTER, BLK_DEBUG_FS, Flycast build type

Kernel:
- BRIDGE_NETFILTER=n (was still =m after BRIDGE was disabled)
- BLK_DEBUG_FS=n (depends on DEBUG_FS which is off, explicit disable)

Flycast:
- Replace sed -Ofast hack with proper CMAKE_BUILD_TYPE=Release
  (CMake Release mode applies -O3 with proper LTO support)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Douglas Teles
2026-04-18 15:13:18 -03:00
parent ac66befbf9
commit a7334ee3fb
2 changed files with 3 additions and 4 deletions
@@ -784,7 +784,7 @@ CONFIG_BLK_DEV_WRITE_MOUNTED=y
# CONFIG_BLK_CGROUP_IOPRIO is not set
CONFIG_BLK_CGROUP_RWSTAT=y
CONFIG_BLK_ICQ=y
CONFIG_BLK_DEBUG_FS=y
# CONFIG_BLK_DEBUG_FS is not set
# CONFIG_BLK_SED_OPAL is not set
# CONFIG_BLK_INLINE_ENCRYPTION is not set
@@ -1118,7 +1118,7 @@ CONFIG_NET_PTP_CLASSIFY=y
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
CONFIG_NETFILTER=y
CONFIG_NETFILTER_ADVANCED=y
CONFIG_BRIDGE_NETFILTER=m
# CONFIG_BRIDGE_NETFILTER is not set
#
# Core Netfilter Configuration
@@ -32,8 +32,7 @@ fi
pre_configure_target() {
export CXXFLAGS="${CXXFLAGS} -Wno-error=array-bounds"
PKG_CMAKE_OPTS_TARGET+=" -DUSE_OPENMP=ON"
sed -i 's/\-O[23]/-Ofast/' ${PKG_BUILD}/CMakeLists.txt
PKG_CMAKE_OPTS_TARGET+=" -DCMAKE_BUILD_TYPE=Release -DUSE_OPENMP=ON"
}
makeinstall_target() {