]> git.pld-linux.org Git - packages/dietlibc.git/blobdiff - dietlibc-opt.patch
- findcflags.sh is used only in i386; allow passing OPTFLAGS elsewhere too
[packages/dietlibc.git] / dietlibc-opt.patch
index c823bb8bc9e9a8ea50bce3739caf9f41bcf6207d..b66f0bedefed254e67e48b23ddcc4210471beac1 100644 (file)
 +  [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
This page took 0.164648 seconds and 4 git commands to generate.