From 5183cbd78f43f97e4e3d1cb5ad36a07fdcee51e0 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 9 Apr 2020 23:53:06 -0700 Subject: Minor tweak to support compiling with TCC --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 04ab040..37ee948 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ NAME=bb PREFIX= -CC=gcc -O=-O2 +CC ?= gcc +O ?= -O2 CFLAGS=-std=c99 -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L CWARN=-Wall -Wpedantic -Wextra -Wno-unknown-pragmas -Wno-missing-field-initializers\ -Wno-padded -Wsign-conversion -Wno-missing-noreturn -Wno-cast-qual -Wtype-limits -- cgit v1.2.3