From aa2929196dc29cfe0c84d00b9fd746be863e8b15 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Wed, 5 Aug 2020 15:02:33 +0800 Subject: [PATCH] If DUMP1090_VERSION is unset, use "unknown" as the version (not an empty string) --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 2285ac7..68ab4e0 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,8 @@ ifndef LIMESDR LIMESDR := $(shell pkg-config --exists LimeSuite && echo "yes" || echo "no") endif +DUMP1090_VERSION ?= unknown + CPPFLAGS += -DMODES_DUMP1090_VERSION=\"$(DUMP1090_VERSION)\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" DIALECT = -std=c11