From 8d2e358ea3889bc6c467efd8456ed963c458da8f Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Mon, 17 Dec 2018 01:54:20 -0800 Subject: [PATCH] rpiConfigServer: add gnu-debuglink --- deps/tools/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/deps/tools/Makefile b/deps/tools/Makefile index 7d3c9ab..3b4c87c 100644 --- a/deps/tools/Makefile +++ b/deps/tools/Makefile @@ -48,6 +48,7 @@ rpiConfigServer: ${RPICONFIGSERVER_OBJS} -lwpiutil ${COMPILER}objcopy --only-keep-debug $@ $@.debug ${COMPILER}strip -g $@ + ${COMPILER}objcopy --add-gnu-debuglink=$@.debug $@ %.o: %.cpp ${COMPILER}g++ -O -Wall -c -o $@ \