From 08dee8337ed8ef684b507a200373006ec4442c23 Mon Sep 17 00:00:00 2001 From: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com> Date: Sat, 20 Feb 2021 12:02:48 +0800 Subject: [PATCH] rtl8821cu: disable default cflags for arm again --- .../rtl8821cu/patches/010-remove-extra-cflags.patch | 11 +++++++++++ ...peat-flies.patch => 020-remove-repeat-flies.patch} | 0 ...ble.patch => 030-change-value-of-vht-enable.patch} | 0 ...{030-wireless-5.4.patch => 040-wireless-5.4.patch} | 0 4 files changed, 11 insertions(+) create mode 100644 package/ctcgfw/rtl8821cu/patches/010-remove-extra-cflags.patch rename package/ctcgfw/rtl8821cu/patches/{010-remove-repeat-flies.patch => 020-remove-repeat-flies.patch} (100%) rename package/ctcgfw/rtl8821cu/patches/{020-change-value-of-vht-enable.patch => 030-change-value-of-vht-enable.patch} (100%) rename package/ctcgfw/rtl8821cu/patches/{030-wireless-5.4.patch => 040-wireless-5.4.patch} (100%) diff --git a/package/ctcgfw/rtl8821cu/patches/010-remove-extra-cflags.patch b/package/ctcgfw/rtl8821cu/patches/010-remove-extra-cflags.patch new file mode 100644 index 0000000000..bc753af413 --- /dev/null +++ b/package/ctcgfw/rtl8821cu/patches/010-remove-extra-cflags.patch @@ -0,0 +1,11 @@ +--- a/Makefile ++++ b/Makefile +@@ -2103,8 +2103,6 @@ ifeq ($(ARCH), i386) + EXTRA_CFLAGS += -mhard-float + else ifeq ($(ARCH), x86_64) + EXTRA_CFLAGS += -mhard-float +-else ifeq ($(ARCH), arm) +-EXTRA_CFLAGS += -mfloat-abi=hard + endif + + ifeq ($(CONFIG_MULTIDRV), y) diff --git a/package/ctcgfw/rtl8821cu/patches/010-remove-repeat-flies.patch b/package/ctcgfw/rtl8821cu/patches/020-remove-repeat-flies.patch similarity index 100% rename from package/ctcgfw/rtl8821cu/patches/010-remove-repeat-flies.patch rename to package/ctcgfw/rtl8821cu/patches/020-remove-repeat-flies.patch diff --git a/package/ctcgfw/rtl8821cu/patches/020-change-value-of-vht-enable.patch b/package/ctcgfw/rtl8821cu/patches/030-change-value-of-vht-enable.patch similarity index 100% rename from package/ctcgfw/rtl8821cu/patches/020-change-value-of-vht-enable.patch rename to package/ctcgfw/rtl8821cu/patches/030-change-value-of-vht-enable.patch diff --git a/package/ctcgfw/rtl8821cu/patches/030-wireless-5.4.patch b/package/ctcgfw/rtl8821cu/patches/040-wireless-5.4.patch similarity index 100% rename from package/ctcgfw/rtl8821cu/patches/030-wireless-5.4.patch rename to package/ctcgfw/rtl8821cu/patches/040-wireless-5.4.patch