rpiConfigServer: add gnu-debuglink
This commit is contained in:
parent
b674a68516
commit
8d2e358ea3
1
deps/tools/Makefile
vendored
1
deps/tools/Makefile
vendored
|
@ -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 $@ \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user