[packages/scrplus: 1/2] - -lm moved to the end - added LDFLAGS
witekfl
witekfl at pld-linux.org
Sun Jan 19 18:02:49 CET 2014
commit 7371167ec21867ec73da314c7e345126d1ed5031
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Sun Jan 19 18:00:58 2014 +0100
- -lm moved to the end
- added LDFLAGS
ldflags.patch | 15 +++++++++++++++
1 file changed, 15 insertions(+)
---
diff --git a/ldflags.patch b/ldflags.patch
new file mode 100644
index 0000000..a1e484e
--- /dev/null
+++ b/ldflags.patch
@@ -0,0 +1,15 @@
+--- scrplus_0.21/Makefile.orig 2014-01-19 17:51:52.766091011 +0100
++++ scrplus_0.21/Makefile 2014-01-19 17:53:00.277135057 +0100
+@@ -11,10 +11,10 @@ INCLUDES := colourspace.h bits.h libscrp
+ all: scrplus gscrplus libscrplus.o
+
+ scrplus: scrplus.c $(LIBS) $(INCLUDES)
+- $(CC) $(CFLAGS) $(SDLFLAGS) -o scrplus scrplus.c -lm $(LIBS) $(SDL)
++ $(CC) $(CFLAGS) $(SDLFLAGS) $(LDFLAGS) -o scrplus scrplus.c $(LIBS) $(SDL) -lm
+
+ gscrplus: gscrplus.c $(LIBS) $(INCLUDES) icondata.h
+- $(CC) $(CFLAGS) $(SDLFLAGS) $(GTKFLAGS) -o gscrplus gscrplus.c -lm $(LIBS) $(SDL) $(GTK)
++ $(CC) $(CFLAGS) $(SDLFLAGS) $(GTKFLAGS) $(LDFLAGS) -o gscrplus gscrplus.c $(LIBS) $(SDL) $(GTK) -lm
+
+ bits.o: bits.c bits.h
+ $(CC) $(CFLAGS) -o bits.o -c bits.c
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/scrplus.git/commitdiff/0c1ba2e5e9d93c3f458e395c2444e229edbc74fe
More information about the pld-cvs-commit
mailing list