修复在debian4.19.0-17-amd64下的各种蛋疼编译问题

This commit is contained in:
huoji
2023-12-03 00:19:46 +08:00
parent 73a35c7327
commit 8e7813103e
4 changed files with 25 additions and 10 deletions

View File

@@ -4,6 +4,8 @@ safe_duck-objs := main.o msg.o global.o some_struct.o ip_hashmap.o network.o cli
PWD := $(shell pwd)
KVER := $(shell uname -r)
KDIR := /lib/modules/$(KVER)/build
CFLAGS-y += -std=c99
all:
$(MAKE) -C $(KDIR) M=$(PWD) modules
clean: