rpiConfigServer: add gnu-debuglink

This commit is contained in:
Peter Johnson
2018-12-17 01:54:20 -08:00
parent b674a68516
commit 8d2e358ea3
+1
View File
@@ -48,6 +48,7 @@ rpiConfigServer: ${RPICONFIGSERVER_OBJS}
-lwpiutil -lwpiutil
${COMPILER}objcopy --only-keep-debug $@ $@.debug ${COMPILER}objcopy --only-keep-debug $@ $@.debug
${COMPILER}strip -g $@ ${COMPILER}strip -g $@
${COMPILER}objcopy --add-gnu-debuglink=$@.debug $@
%.o: %.cpp %.o: %.cpp
${COMPILER}g++ -O -Wall -c -o $@ \ ${COMPILER}g++ -O -Wall -c -o $@ \