SOURCES: dietlibc-opt.patch - findcflags.sh is used only in i386; ...
qboosh
qboosh at pld-linux.org
Sat Dec 30 23:34:37 CET 2006
Author: qboosh Date: Sat Dec 30 22:34:37 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- findcflags.sh is used only in i386; allow passing OPTFLAGS elsewhere too
---- Files affected:
SOURCES:
dietlibc-opt.patch (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/dietlibc-opt.patch
diff -u SOURCES/dietlibc-opt.patch:1.3 SOURCES/dietlibc-opt.patch:1.4
--- SOURCES/dietlibc-opt.patch:1.3 Sun May 22 22:10:10 2005
+++ SOURCES/dietlibc-opt.patch Sat Dec 30 23:34:31 2006
@@ -13,3 +13,14 @@
+ [34]*) echo ${OPTFLAGS} -Os -fomit-frame-pointer -falign-functions=1 -falign-jumps=1 -falign-loops=1 -mpreferred-stack-boundary=2;;
+ *) echo -O2 ${OPTFLAGS} -pipe -fomit-frame-pointer ;;
esac
+--- dietlibc-0.30/Makefile.orig 2006-12-30 22:22:02.000000000 +0000
++++ dietlibc-0.30/Makefile 2006-12-30 22:29:57.000000000 +0000
+@@ -100,7 +100,7 @@
+
+ profiling: $(OBJDIR)/libgmon.a $(OBJDIR)/pstart.o
+
+-CFLAGS=-pipe -nostdinc
++CFLAGS=-pipe -nostdinc $(OPTFLAGS)
+ CROSS=
+
+ CC=gcc
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/dietlibc-opt.patch?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list