Stefan Krah added the comment: > So, looks like FreeBSD's /usr/share/mk/sys.mk is to blame here. > It unconditionally sets CFLAGS to `-O2 -pipe`.
I've been debugging this once, too. My conclusion was that if the OS is set up that way, we shouldn't do anything about it in the Python source tree. All important features of --with-pydebug should also work if -O0 is overridden by -O2. So I think that FreeBSD users who really want -O0 should change sys.mk or set CFLAGS manually. For the buildbots it should not matter, except that compile times are slower. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15757> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com