Your message dated Thu, 26 Nov 2015 23:31:42 +0100
with message-id <[email protected]>
and subject line Re: boswars: DEB_BUILD_OPTIONS=noopt still compiles with -O2
has caused the Debian Bug report #561160,
regarding boswars: DEB_BUILD_OPTIONS=noopt still compiles with -O2
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
561160: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561160
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: boswars
Version: 2.5-2
Severity: normal
I ran DEB_BUILD_OPTIONS=noopt dpkg-buildpackage,
but files were compiled with -O2 anyway:
g++ -o build/release/action/action_follow.o -c
-DSTRATAGUS_LIB_PATH=\"/usr/share/games/boswars\" -O2 -pipe
-fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_VORBIS
-DUSE_THEORA -DUSE_OGG -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X
-D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include -I/usr/include/lua5.1
-I/usr/include -I/usr/include/SDL -Iengine/include -Iengine/guichan/include
engine/action/action_follow.cpp
It appears that debian/rules checks $(findstring noopt,$(DEB_BUILD_OPTIONS))
and sets CFLAGS += -O0, but it does not pass the resulting CFLAGS
to scons in any way: neither in the environment nor in the command line.
Even if it did, the value would apparently be ignored;
the SConstruct file mentions CCFLAGS but not CFLAGS.
I suggest changing debian/rules to place the optimization options
in CCFLAGS instead.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (900, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages boswars depends on:
ii boswars-data 2.5-2 Images, data, and music files for
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libgcc1 1:4.4.2-4 GCC support library
ii libgl1-mesa-glx [libgl 7.6.1~rc3-1 A free implementation of the OpenG
ii liblua5.1-0 5.1.4-5 Simple, extensible, embeddable pro
ii libogg0 1.1.4~dfsg-1 Ogg bitstream library
ii libpng12-0 1.2.41-1 PNG library - runtime
ii libsdl1.2debian 1.2.13-5 Simple DirectMedia Layer
ii libstdc++6 4.4.2-4 The GNU Standard C++ Library v3
ii libtheora0 1.1.1+dfsg.1-1 The Theora Video Compression Codec
ii libvorbis0a 1.2.3-3 The Vorbis General Audio Compressi
ii libx11-6 2:1.3.2-1 X11 client-side library
ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime
boswars recommends no packages.
boswars suggests no packages.
-- no debconf information
pgpAzz7hfcNWY.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---
Version: 2.7-1
On Mon, 14 Dec 2009 23:58:40 +0200 Kalle Olavi Niemitalo <[email protected]> wrote:
> Package: boswars
> Version: 2.5-2
> Severity: normal
>
> I ran DEB_BUILD_OPTIONS=noopt dpkg-buildpackage,
> but files were compiled with -O2 anyway:
This issue was fixed some time ago but it seems somebody forgot to close
this bug report. Thanks for the report.
Markus
signature.asc
Description: OpenPGP digital signature
--- End Message ---