wok-stable diff wesnoth/receipt @ rev 4362
Up: vala
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Tue Oct 06 15:03:10 2009 +0000 (2009-10-06) |
parents | e8024c01fc47 |
children | 35ec83c60e58 |
line diff
1.1 --- a/wesnoth/receipt Sat Jun 13 12:19:10 2009 +0200 1.2 +++ b/wesnoth/receipt Tue Oct 06 15:03:10 2009 +0000 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