Lines 43-54
python_prepare_all() {
Link Here
|
43 |
} |
43 |
} |
44 |
|
44 |
|
45 |
python_compile() { |
45 |
python_compile() { |
46 |
local CFLAGS CXXFLAGS |
|
|
47 |
|
48 |
if [[ ${EPYTHON} != python3* ]]; then |
46 |
if [[ ${EPYTHON} != python3* ]]; then |
49 |
# Needed to make the sendmsg extension work |
47 |
# Needed to make the sendmsg extension work |
50 |
# (see http://twistedmatrix.com/trac/ticket/5701 ) |
48 |
# (see http://twistedmatrix.com/trac/ticket/5701 ) |
51 |
|
49 |
|
|
|
50 |
local CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" |
52 |
append-flags -fno-strict-aliasing |
51 |
append-flags -fno-strict-aliasing |
53 |
fi |
52 |
fi |
54 |
|
53 |
|