Staging
v0.5.1
https://github.com/python/cpython
Revision f2d2cb12f2d3bd68a13c4098311e725f776768ad authored by Miss Islington (bot) on 09 December 2018, 08:35:13 UTC, committed by GitHub on 09 December 2018, 08:35:13 UTC

When using link time optimizations, the -flto flag is passed to
BASECFLAGS, which makes it propagate to distutils. Those flags
should be reserved for the interpreter and the stdlib extension
modules only, thus moving those flags to CFLAGS_NODIST.
(cherry picked from commit f92c7aa1ae81efa475b5aecf66e4711ef0f52c4c)

Co-authored-by: stratakis <cstratak@redhat.com>
1 parent f83ee47
Raw File
Tip revision: f2d2cb12f2d3bd68a13c4098311e725f776768ad authored by Miss Islington (bot) on 09 December 2018, 08:35:13 UTC
bpo-35351: Pass link time optimization flags to CFLAGS_NODIST (GH-10797)
Tip revision: f2d2cb1
posixmodule.h
/* Declarations shared between the different POSIX-related modules */

#ifndef Py_POSIXMODULE_H
#define Py_POSIXMODULE_H
#ifdef __cplusplus
extern "C" {
#endif

#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif

#ifndef Py_LIMITED_API
#ifndef MS_WINDOWS
PyAPI_FUNC(PyObject *) _PyLong_FromUid(uid_t);
PyAPI_FUNC(PyObject *) _PyLong_FromGid(gid_t);
PyAPI_FUNC(int) _Py_Uid_Converter(PyObject *, void *);
PyAPI_FUNC(int) _Py_Gid_Converter(PyObject *, void *);
#endif /* MS_WINDOWS */
#endif

#ifdef __cplusplus
}
#endif
#endif /* !Py_POSIXMODULE_H */
back to top