wok-stable diff wesnoth/receipt @ rev 4818
Fix: Remove python dependency on GDB.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Jan 20 00:51:39 2010 +0100 (2010-01-20) |
parents | e8024c01fc47 |
children | 35ec83c60e58 |
line diff
1.1 --- a/wesnoth/receipt Sat Jun 13 12:19:10 2009 +0200 1.2 +++ b/wesnoth/receipt Wed Jan 20 00:51:39 2010 +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