1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-26 07:04:12 +00:00

Fix error on arm builds

This commit is contained in:
Carlos Garcés 2021-01-14 11:04:49 +01:00 committed by Carlos
parent 64e7aaa565
commit 71baec244c

View File

@ -2130,14 +2130,6 @@ EXTRA_CFLAGS += -DMARK_KERNEL_PFU
else ifeq ($(ARCH), x86_64) else ifeq ($(ARCH), x86_64)
EXTRA_CFLAGS += -mhard-float EXTRA_CFLAGS += -mhard-float
EXTRA_CFLAGS += -DMARK_KERNEL_PFU EXTRA_CFLAGS += -DMARK_KERNEL_PFU
else ifeq ($(ARCH), arm)
# Raspbian kernel is with soft-float.
# 'softfp' allows FP instructions, but no FP on function call interfaces
ifeq ($(CONFIG_PLATFORM_ARM_RPI), y)
EXTRA_CFLAGS += -mfloat-abi=softfp
else
EXTRA_CFLAGS += -mfloat-abi=hard
endif
endif endif
########### CUSTOMER ################################ ########### CUSTOMER ################################