feat: capability list to enable greater flexibility of devices
[lunaix-os.git] / lunaix-os / kernel.mk
index c5596f893ab13b9d7929583b201b15b66a693c48..fdc3203beda0f50ea592fce55405d44c2c80cbfa 100644 (file)
@@ -32,7 +32,7 @@ CFLAGS += -include flags.h
 
 %.S.o: %.S
        $(call status_,AS,$<)
 
 %.S.o: %.S
        $(call status_,AS,$<)
-       @$(CC) $(kinc_opts) -c $< -o $@
+       @$(CC) $(CFLAGS) $(kinc_opts) -c $< -o $@
 
 %.c.o: %.c
        $(call status_,CC,$<)
 
 %.c.o: %.c
        $(call status_,CC,$<)