Skip to content

Commit

Permalink
Don't override CC/CXX if externally provided
Browse files Browse the repository at this point in the history
  • Loading branch information
mutability committed Sep 7, 2019
1 parent 609c34a commit 5a79460
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ ifneq ($(VERSION),)
CPPFLAGS+=-DVERSION=\"$(VERSION)\"
endif

CC=gcc
CFLAGS+=-Wall -Werror -O2 -g -Ilibs
CC ?= gcc
CFLAGS += -Wall -Werror -O2 -g -Ilibs

CXX=g++
CXXFLAGS+=-std=c++11 -Wall -Wno-psabi -Werror -O2 -g -Ilibs
CXX ?= g++
CXXFLAGS += -std=c++11 -Wall -Wno-psabi -Werror -O2 -g -Ilibs

LIBS=-lboost_system -lboost_program_options -lboost_regex -lboost_filesystem -lpthread
LIBS_SDR=-lSoapySDR
Expand Down

0 comments on commit 5a79460

Please sign in to comment.