wok-next diff wesnoth/receipt @ rev 4637
Up: web-applications (1.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Dec 24 18:22:10 2009 +0100 (2009-12-24) |
parents | e8024c01fc47 |
children | 35ec83c60e58 |
line diff
1.1 --- a/wesnoth/receipt Sat Jun 13 12:19:10 2009 +0200 1.2 +++ b/wesnoth/receipt Thu Dec 24 18:22:10 2009 +0100 1.3 @@ -15,7 +15,10 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 - ./configure --prefix=/usr $CONFIGURE_ARGS && \ 1.8 + ./configure --prefix=/usr $CONFIGURE_ARGS 1.9 + sed -i -e 's/CFLAGS = -O2/CFLAGS = -fno-strict-aliasing -O2/' \ 1.10 + -e 's/CXXFLAGS = -O2/CXXFLAGS = -fno-strict-aliasing -O2/' \ 1.11 + Makefile src/Makefile 1.12 make && make DESTDIR=$PWD/_pkg install 1.13 } 1.14