broadcom-wl-6.30.223.271-no-date-time.patch 854 B

12345678910111213141516171819202122
  1. The GE_49 check fails to detect gcc-10, but we dont care about old gcc
  2. versions, so simply always apply the -Wno-date-time
  3. Fixes: https://bugs.mageia.org/show_bug.cgi?id=26620
  4. Signed-off-by: Thomas Backlund <tmb@mageia.org>
  5. diff -Nurp broadcom-wl-6.30.223.271.orig/Makefile broadcom-wl-6.30.223.271/Makefile
  6. --- broadcom-wl-6.30.223.271.orig/Makefile 2015-09-19 01:47:30.000000000 +0300
  7. +++ broadcom-wl-6.30.223.271/Makefile 2020-05-15 16:28:08.586410105 +0300
  8. @@ -141,9 +141,7 @@ EXTRA_CFLAGS += -I$(src)/src/inclu
  9. EXTRA_CFLAGS += -I$(src)/src/wl/sys -I$(src)/src/wl/phy -I$(src)/src/wl/ppr/include
  10. EXTRA_CFLAGS += -I$(src)/src/shared/bcmwifi/include
  11. #EXTRA_CFLAGS += -DBCMDBG_ASSERT -DBCMDBG_ERR
  12. -ifeq "$(GE_49)" "1"
  13. EXTRA_CFLAGS += -Wno-date-time
  14. -endif
  15. EXTRA_LDFLAGS := $(src)/lib/wlc_hybrid.o_shipped