about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 528c21a..86b70cf 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,8 @@ RM ?= rm -f
 PREFIX ?= /usr/local/
 BINDIR ?= ${PREFIX}/bin
 
-CC = cc -ansi -fno-builtin
+CFLAGS.veryneeded != [ "${CC}" != tcc ] && echo -ansi -fno-builtin
+CFLAGS += ${CFLAGS.veryneeded}
 
 .PHONY: all
 all: buc bus