Change compiler optimization from -O2 ro -O0 (fix bnc#264862)

OBS-URL: https://build.opensuse.org/package/show/games/freeciv?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2009-01-14 15:56:12 +00:00 committed by Git OBS Bridge
parent 277efa8a59
commit 036dc0680d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 14 16:53:00 CET 2009 - dominique-obs@leuenberger.net
- Change compiler optimization from -O2 ro -O0 (fix bnc#264862)
-------------------------------------------------------------------
Wed Jan 14 10:37:09 CET 2009 - dominique-obs@leuenberger.net

View File

@ -64,7 +64,7 @@ echo "X-SuSE-translate=false" >> bootstrap/freeciv-server.desktop.in
%build
autoreconf -fi
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./configure \
CFLAGS="$RPM_OPT_FLAGS -O0 -fno-strict-aliasing" ./configure \
--prefix=/usr \
--datadir=/usr/share \
--datarootdir=/usr/share \