On Tue, 30 Aug 2005, Steve Langasek wrote:

to override optimization flags for this package?  It seems that if
nothing else, setup.py should allow you to set ext_args = ['-O2'], which
is the policy-recommended optimization level for all architectures
anyway.

I tried to follow your hint:

$ grep -R -- "-O[23]" *
debian/changelog:  * setup.py: ext_args = ['-O2']
setup.py:    ext_args = ['-Wall', '-O2']

(just added the option) which leaded to

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes 
-fPIC -I/usr
/include/python2.3 -c src/python-Levenshtein-0.10/Levenshtein.c -o 
build/temp.linux-i686-2
.3/src/python-Levenshtein-0.10/Levenshtein.o -Wall -O2

I guess that these options I do not control are included by distutils.setup and
the optopns I added are just appended.  So I'm a little bit unsure which option
wins this game.

Well, there are a number of gcc bugs on m68k that are known to occur
only when using -O3; I don't know if this is one of them, but there is a
good chance that it is.  Unless you want to ask [EMAIL PROTECTED] to test
for you first, I think uploading is an ok solution.

Perhaps I'll have to do that if you can not assure me that the build above
would work.

Thanks for your help

          Andreas.

--
http://fam-tille.de


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to