summaryrefslogtreecommitdiffstats
path: root/lddbus/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lddbus/Makefile')
-rw-r--r--lddbus/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lddbus/Makefile b/lddbus/Makefile
index 1a3ab78..98d4cc9 100644
--- a/lddbus/Makefile
+++ b/lddbus/Makefile
@@ -7,7 +7,7 @@ ifeq ($(DEBUG),y)
else
DEBFLAGS = -O2
endif
-CFLAGS += $(DEBFLAGS) -I$(LDDINCDIR)
+EXTRA_CFLAGS += $(DEBFLAGS) -I$(LDDINCDIR)
ifneq ($(KERNELRELEASE),)
@@ -31,7 +31,7 @@ clean:
rm -rf *.o *.ko *~ core .depend *.mod.c .*.cmd .tmp_versions .*.o.d
depend .depend dep:
- $(CC) $(CFLAGS) -M *.c > .depend
+ $(CC) $(EXTRA_CFLAGS) -M *.c > .depend
ifeq (.depend,$(wildcard .depend))