rtl8821cu: fix build on x86 platform
Fix: #286 Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
This commit is contained in:
parent
6a2066c9e5
commit
75d4e97c4f
@ -66,6 +66,10 @@ ifeq ($(ARCH),arm)
|
||||
EXTRA_CFLAGS += -mfloat-abi=softfp
|
||||
endif
|
||||
|
||||
ifeq ($(BOARD),x86)
|
||||
EXTRA_CFLAGS += -mhard-float
|
||||
endif
|
||||
|
||||
MAKE_OPTS:= \
|
||||
$(KERNEL_MAKE_FLAGS) \
|
||||
M="$(PKG_BUILD_DIR)" \
|
||||
|
||||
@ -1,11 +0,0 @@
|
||||
--- 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)
|
||||
Loading…
Reference in New Issue
Block a user