logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

wno-array-bounds.patch (636B)


  1. SPDX-FileCopyrightText: 2024 Gábor Stefanik <netrolller.3d@gmail.com>
  2. SPDX-License-Identifier: GPL-2.0-only
  3. Remove -Wno-array-bounds which gcc-4.0.4 doesn't recognize
  4. --- linux-4.14.336/drivers/net/ethernet/broadcom/Makefile.bak 2024-02-15 17:05:34.617050047 +0100
  5. +++ linux-4.14.336/drivers/net/ethernet/broadcom/Makefile 2024-02-15 17:06:06.097047984 +0100
  6. @@ -16,8 +16,3 @@
  7. obj-$(CONFIG_BGMAC_PLATFORM) += bgmac-platform.o
  8. obj-$(CONFIG_SYSTEMPORT) += bcmsysport.o
  9. obj-$(CONFIG_BNXT) += bnxt/
  10. -
  11. -# FIXME: temporarily silence -Warray-bounds on non W=1+ builds
  12. -ifndef KBUILD_EXTRA_WARN
  13. -CFLAGS_tg3.o += -Wno-array-bounds
  14. -endif