Revision: 2400
http://linuxconsole.svn.sourceforge.net/linuxconsole/?rev=2400&view=rev
Author: skitt
Date: 2010-12-28 22:07:41 +0000 (Tue, 28 Dec 2010)
Log Message:
-----------
Build with ld --as-needed. Thanks to Stefan Potyra
<sis...@ub...> for the patch (see http://bugs.debian.org/607009
for the Debian bug report).
Modified Paths:
--------------
trunk/utils/Makefile
Modified: trunk/utils/Makefile
===================================================================
--- trunk/utils/Makefile 2010-11-04 12:16:54 UTC (rev 2399)
+++ trunk/utils/Makefile 2010-12-28 22:07:41 UTC (rev 2400)
@@ -41,7 +41,7 @@
$(RM) *.o *.swp $(PROGRAMS) *.orig *.rej map *~
ffcfstress: ffcfstress.c
- $(CC) -O2 -funsigned-char -lm ffcfstress.c -o ffcfstress
+ $(CC) -O2 -funsigned-char ffcfstress.c -lm -o ffcfstress
ffmvforce.o: ffmvforce.c
$(CC) -c $(CFLAGS) $(CPPFLAGS) $^ -o $@ `sdl-config --cflags`
@@ -54,7 +54,7 @@
jscal.o: jscal.c axbtnmap.h
jscal: jscal.o axbtnmap.o
- $(CC) $(CFLAGS) $(CPPFLAGS) -lm $^ -o $@
+ $(CC) $(CFLAGS) $(CPPFLAGS) $^ -lm -o $@
jstest.o: jstest.c axbtnmap.h
@@ -64,4 +64,4 @@
$(CC) $(CFLAGS) $(CPPFLAGS) gencodes.c -o gencodes
acceltest: acceltest.c
- $(CC) $(CFLAGS) $(CPPFLAGS) -lm $^ -o $@
+ $(CC) $(CFLAGS) $(CPPFLAGS) $^ -lm -o $@
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|