summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tty/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tty/Makefile b/tty/Makefile
index f5b8592..637dfbd 100644
--- a/tty/Makefile
+++ b/tty/Makefile
@@ -9,8 +9,8 @@ else
DEBFLAGS = -O2
endif
-CFLAGS += $(DEBFLAGS)
-CFLAGS += -I..
+EXTRA_CFLAGS += $(DEBFLAGS)
+EXTRA_CFLAGS += -I..
ifneq ($(KERNELRELEASE),)
# call from kernel build system
@@ -33,7 +33,7 @@ clean:
rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions
depend .depend dep:
- $(CC) $(CFLAGS) -M *.c > .depend
+ $(CC) $(EXTRA_CFLAGS) -M *.c > .depend
ifeq (.depend,$(wildcard .depend))