From 07b395ce6f9f6b37f853f6977a6e0e4cfcd120d2 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Thu, 10 Dec 2020 23:33:53 +0100 Subject: [PATCH] Add -g to CXXFLAGS to get debug symbols --- hsmodem/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hsmodem/Makefile b/hsmodem/Makefile index bf4f82c..875ba83 100755 --- a/hsmodem/Makefile +++ b/hsmodem/Makefile @@ -7,7 +7,7 @@ # then (in the target system) run "sudo install". # This will copy the sharded libs to its final location. -CXXFLAGS = -Wall -O3 -std=c++0x -Wno-write-strings -Wno-narrowing +CXXFLAGS = -g -Wall -O3 -std=c++0x -Wno-write-strings -Wno-narrowing LDFLAGS = -lpthread -lrt -lsndfile -lasound -lm -lopus -lfftw3 -lfftw3_threads -lliquid -lcodec2 -lsoundio OBJ = hsmodem.o constellation.o crc16.o frame_packer.o main_helper.o scrambler.o speed.o fec.o udp.o fft.o liquid_if.o symboltracker.o voiceprocessor.o codec2.o soundio.o fifo.o announcement.o fifo_voice.o voiceio.o