<div class="gmail_quote">On Wed, Nov 18, 2009 at 06:04, Jonas Smedegaard <span dir="ltr">&lt;<a href="mailto:dr@jones.dk">dr@jones.dk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>Please beware that the -O3 optimization was an *example* - my main point is to warn about relying on simple makefiles properly handling all the nitty gritty details required/recommended/encouraged to do in Debian.</div>

</blockquote><div><br> I checked the build logs. As part of the build,<br><br><font face="courier new,monospace">dpkg-buildpackage: set CFLAGS to default value: -g -O2<br>dpkg-buildpackage: set CPPFLAGS to default value: <br>

dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions<br>dpkg-buildpackage: set FFLAGS to default value: -g -O2<br>dpkg-buildpackage: set CXXFLAGS to default value: -g -O2<br>[...]<br>cc -std=gnu99 -fPIC -W -Wformat -Wall -Wundef -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wsign-compare -Wmissing-noreturn -Wextra -Wstrict-aliasing=2 -Wunsafe-loop-optimizations -MMD -MP -g -O2 -g -Wall -O2 -c -o nss-rainbow.o nss-rainbow.c<br>

<br><font face="arial,helvetica,sans-serif">It looks like the flags specified in nss/Makefile are being overridden by CDBS to values compliant with Debian policy. <br><br></font></font></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div id=":1la" class="ii gt">What else changed during build? Did distutils rules get invoked at all? If it did, where did it install its files (hint: probably somewhere below debian/tmp)?</div></blockquote></div><br>Yes, in debian/tmp/usr/lib/python2.6/site-packages/rainbow.<br clear="all">

<br>-- <br>Luke Faraone<br><a href="http://luke.faraone.cc">http://luke.faraone.cc</a><br>