diff --git a/wiringPi/Makefile b/wiringPi/Makefile index d62f3b2..6caf12f 100755 --- a/wiringPi/Makefile +++ b/wiringPi/Makefile @@ -36,7 +36,7 @@ DYNAMIC=libwiringPi.so.$(VERSION) #DEBUG = -g -O0 DEBUG = -O2 -CC = gcc +CC ?= gcc INCLUDE = -I. DEFS = -D_GNU_SOURCE CFLAGS = $(DEBUG) $(DEFS) -Wformat=2 -Wextra -Winline $(INCLUDE) -pipe -fPIC