Fix surprising behaviour of {TOOLS,TESTS,BENCHMARKS}=0

This commit is contained in:
Vas Crabb 2016-04-12 11:37:25 +10:00
parent 0cfa192533
commit 9534b2b165

View File

@ -498,16 +498,22 @@ endif
endif
ifdef TOOLS
ifneq '$(TOOLS)' '0'
PARAMS += --with-tools
endif
endif
ifdef TESTS
ifneq '$(TESTS)' '0'
PARAMS += --with-tests
endif
endif
ifdef BENCHMARKS
ifneq '$(BENCHMARKS)' '0'
PARAMS += --with-benchmarks
endif
endif
ifdef SYMBOLS
PARAMS += --SYMBOLS='$(SYMBOLS)'