LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File libss7-1.0.2-optflags.patch of Package libss7 (Project network:telephony)

diff -ruN libss7-1.0.2-orig/Makefile libss7-1.0.2/Makefile
--- libss7-1.0.2-orig/Makefile	2008-08-06 18:49:06.000000000 +0000
+++ libss7-1.0.2/Makefile	2010-01-21 19:41:15.246702217 +0000
@@ -66,13 +66,13 @@
 	@rm -f $@.tmp
 
 ss7test: ss7test.c $(STATIC_LIBRARY)
-	gcc -g -o ss7test ss7test.c libss7.a -lpthread
+	$(CC) $(CFLAGS) -o ss7test ss7test.c libss7.a -lpthread
 
 ss7linktest: ss7linktest.c $(STATIC_LIBRARY)
-	gcc -g -o ss7linktest ss7linktest.c libss7.a -lpthread
+	$(CC) $(CFLAGS) -o ss7linktest ss7linktest.c libss7.a -lpthread
 
 parser_debug: parser_debug.c $(STATIC_LIBRARY)
-	gcc -g -Wall -o parser_debug parser_debug.c libss7.a
+	$(CC) $(CFLAGS) -o parser_debug parser_debug.c libss7.a
 
 libss7: ss7_mtp.o mtp.o ss7.o ss7_sched.o