More attempts at getting this working again on wheezy.
This commit is contained in:
parent
bef563b8a3
commit
73a3b5113e
5
Makefile
5
Makefile
|
@ -1,6 +1,6 @@
|
||||||
PROGNAME=dump1090
|
PROGNAME=dump1090
|
||||||
|
|
||||||
CC=gcc -std=c1x
|
CC=gcc
|
||||||
CPPFLAGS += -DMODES_DUMP1090_VERSION=\"$(DUMP1090_VERSION)\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\"
|
CPPFLAGS += -DMODES_DUMP1090_VERSION=\"$(DUMP1090_VERSION)\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\"
|
||||||
|
|
||||||
ifneq ($(RTLSDR_PREFIX),"")
|
ifneq ($(RTLSDR_PREFIX),"")
|
||||||
|
@ -12,7 +12,8 @@ ifneq ($(HTMLPATH),"")
|
||||||
CPPFLAGS += -DHTMLPATH=\"$(HTMLPATH)\"
|
CPPFLAGS += -DHTMLPATH=\"$(HTMLPATH)\"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE
|
DIALECT = -std=c11
|
||||||
|
CFLAGS += $(DIALECT) -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE
|
||||||
LIBS = -lpthread -lm -lrt
|
LIBS = -lpthread -lm -lrt
|
||||||
|
|
||||||
ifeq ($(STATIC), yes)
|
ifeq ($(STATIC), yes)
|
||||||
|
|
|
@ -22,7 +22,7 @@ install_rtlsdr:
|
||||||
cd rtl-sdr-build && cmake ../rtl-sdr -DCMAKE_INSTALL_PREFIX=./install && make install
|
cd rtl-sdr-build && cmake ../rtl-sdr -DCMAKE_INSTALL_PREFIX=./install && make install
|
||||||
|
|
||||||
override_dh_auto_build: install_rtlsdr
|
override_dh_auto_build: install_rtlsdr
|
||||||
dh_auto_build -- HTMLPATH=/usr/share/$(SRCNAME)/html DUMP1090_VERSION=$(DUMP1090_VERSION) STATIC=yes RTLSDR_PREFIX=rtl-sdr-build/install
|
dh_auto_build -- DIALECT=-std=gnu1x HTMLPATH=/usr/share/$(SRCNAME)/html DUMP1090_VERSION=$(DUMP1090_VERSION) STATIC=yes RTLSDR_PREFIX=rtl-sdr-build/install
|
||||||
|
|
||||||
override_dh_install:
|
override_dh_install:
|
||||||
dh_install
|
dh_install
|
||||||
|
|
Loading…
Reference in a new issue