New submission from Kevin Duffy <[email protected]>: In 2.3, rpython/translator/platform/darwin.py, the cflags and ldflags variables don't take into account the environmental CFLAGS/LDFLAGS vars. The linux platform does though: link_flags = tuple( ['-pthread',] + os.environ.get('LDFLAGS', '').split()) extra_libs = ('-lrt',) cflags = tuple( ['-O3', '-pthread', '-fomit-frame-pointer', '-Wall', '-Wno-unused'] + os.environ.get('CFLAGS', '').split())
This should also be done for darwin so custom cflags and libraries can be used when building our own pypy. ---------- messages: 6870 nosy: duffy151, pypy-issue priority: bug release: 2.3 status: unread title: Darwin platform doesn't use CFLAGS/LDFLAGS ________________________________________ PyPy bug tracker <[email protected]> <https://bugs.pypy.org/issue1760> ________________________________________ _______________________________________________ pypy-issue mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-issue
