diff options
| author | Nakidai <nakidai@disroot.org> | 2025-07-03 11:08:48 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2025-07-03 11:08:48 +0300 |
| commit | ed6672618383c223a7dd04ad4ed837d250284fd4 (patch) | |
| tree | 4aa43451f194f400f4211db9ad1455f9376eafc4 /Makefile | |
| parent | c07461337363d7c3e28bac53e73c16d038903e87 (diff) | |
| download | smalltcp-master.tar.gz smalltcp-master.zip | |
Make CFLAGS smaaart so it adds these fancy uwu flags only if you use fancy uwu modern ahh compiler (clang or gcc)
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
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 |