rpiConfigServer: add gnu-debuglink

This commit is contained in:
Peter Johnson 2018-12-17 01:54:20 -08:00
parent b674a68516
commit 8d2e358ea3
No known key found for this signature in database
GPG Key ID: D39DD4DA7D41E329

1
deps/tools/Makefile vendored
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 $@ \