Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=bc807059e5472a961372de71507970aa3714eecf

commit bc807059e5472a961372de71507970aa3714eecf
Author: James Buren <r...@frugalware.org>
Date:   Wed Oct 6 06:03:23 2010 -0500

netsurf.sh
* hard patch CFLAGS

diff --git a/source/include/netsurf.sh b/source/include/netsurf.sh
index 32d8f96..cd41c4a 100644
--- a/source/include/netsurf.sh
+++ b/source/include/netsurf.sh
@@ -54,7 +54,11 @@ archs=('i686' 'x86_64' 'ppc')
###

Fbuildnetsurf() {
-       Fcd
+       if [ "$_F_netsurf_project" -eq 1 ]; then
+               Fsed "-O2" "$CFLAGS" build/makefiles/Makefile.gcc
+       else
+               Fsed "-O2" "$CFLAGS" Makefile.defaults
+       fi
make PREFIX=/usr || Fdie
make PREFIX=/usr DESTDIR="$Fdestdir" install || Fdie
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to