rpiConfigServer: add gnu-debuglink
This commit is contained in:
Vendored
+1
@@ -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 $@ \
|
||||||
|
|||||||
Reference in New Issue
Block a user