testbot/testagentd: Generate debugging information when compiling.

Francois Gouget fgouget at codeweavers.com
Mon Apr 14 07:46:46 CDT 2014


This way one just has to comment out the strip commands to get binaries with useful debug information.
---
 testbot/src/testagentd/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testbot/src/testagentd/Makefile b/testbot/src/testagentd/Makefile
index 676d71c..5a7b735 100644
--- a/testbot/src/testagentd/Makefile
+++ b/testbot/src/testagentd/Makefile
@@ -13,7 +13,7 @@ $(builddir)/testagentd: testagentd.o platform_unix.o
 	strip $@
 
 .c.o:
-	gcc -Wall -c -o $@ $<
+	gcc -Wall -g -c -o $@ $<
 
 
 TestAgentd.exe: testagentd.obj platform_windows.obj
@@ -22,7 +22,7 @@ TestAgentd.exe: testagentd.obj platform_windows.obj
 
 .SUFFIXES: .obj
 .c.obj:
-	$(CROSSCC32) -Wall -c -o $@ $<
+	$(CROSSCC32) -Wall -g -c -o $@ $<
 
 testagentd.o testagentd.obj: platform.h
 platform_unix.o: platform.h list.h
-- 
1.9.1




More information about the wine-patches mailing list