wok-6.x rev 4255
wesnoth: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 25 09:46:28 2009 +0200 (2009-09-25) |
parents | afd01c3e849d |
children | 70c4b5e20249 |
files | wesnoth/receipt |
line diff
1.1 --- a/wesnoth/receipt Fri Sep 25 09:38:33 2009 +0200 1.2 +++ b/wesnoth/receipt Fri Sep 25 09:46:28 2009 +0200 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