Bug#431057: libode0c2: noopt option doesn't work when building
Jiří Paleček
jpalecek at web.de
Fri Jun 29 10:09:53 UTC 2007
Package: libode0c2
Version: 1:0.8.dfsg-1
Severity: normal
Tags: patch
Hello,
the build like
DEB_BUILD_OPTIONS=noopt dpkg-buildpackage -b
doesn't really produce nonoptimized executables. There are two
reasons:
- g++ uses CXXFLAGS instead of CFLAGS
- the variables are not exported to configure, so it doesn't see them
So I fixed that (see the attached file). Also, I removed the handling
for the optimized case, because --default-release already provides
optimization, and removed nostrip handling, because dh_strip should
get the information from DEB_BUILD_OPTIONS environment variable.
Regards
Jiri Palecek
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.20.3-rt8 (PREEMPT)
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2) (ignored: LC_ALL
set to cs_CZ)
Shell: /bin/sh linked to /bin/dash
Versions of packages libode0c2 depends on:
ii libc6 2.5-11 GNU C Library: Shared
libraries
ii libgcc1 1:4.2-20070627-1 GCC support library
ii libstdc++6 4.2-20070627-1 The GNU Standard C++ Library
v3
libode0c2 recommends no packages.
-- no debconf information
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rules
Type: application/octet-stream
Size: 2471 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20070629/039f9a55/attachment.obj
More information about the Pkg-games-devel
mailing list