mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
kernel modules: hack up quick floating point example
This commit is contained in:
@@ -13,6 +13,11 @@ ccflags-y := \
|
||||
-Wno-declaration-after-statement \
|
||||
$(CCFLAGS)
|
||||
|
||||
ifeq ($(ARCH),x86)
|
||||
# https://github.com/cirosantilli/linux-kernel-module-cheat#floating-point-in-kernel-modules
|
||||
CFLAGS_REMOVE_float.o += -mno-sse -mno-sse2
|
||||
endif
|
||||
|
||||
.PHONY: all
|
||||
|
||||
all:
|
||||
|
||||
Reference in New Issue
Block a user