Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6d3a8605
Commit
6d3a8605
authored
Jan 27, 2013
by
Stefan Krah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #11729: Backport commit bff052d9 from libffi upstream in order to fix
a ctypes build failure with clang.
parent
221508cd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Modules/_ctypes/libffi/configure
Modules/_ctypes/libffi/configure
+3
-3
Modules/_ctypes/libffi/configure.ac
Modules/_ctypes/libffi/configure.ac
+3
-3
No files found.
Modules/_ctypes/libffi/configure
View file @
6d3a8605
...
...
@@ -12262,10 +12262,10 @@ if test "${libffi_cv_as_x86_pcrel+set}" = set; then :
$as_echo_n
"(cached) "
>
&6
else
libffi_cv_as_x86_pcrel
=
yes
echo
'.text; foo: nop; .data; .long foo-.; .text'
>
conftest.s
if
$CC
$CFLAGS
-c
conftest.s 2>&1 |
grep
-i
warning
>
/dev/null
;
then
libffi_cv_as_x86_pcrel
=
no
echo
'.text; foo: nop; .data; .long foo-.; .text'
>
conftest.s
if
$CC
$CFLAGS
-c
conftest.s
>
/dev/null 2>&1
;
then
libffi_cv_as_x86_pcrel
=
yes
fi
fi
...
...
Modules/_ctypes/libffi/configure.ac
View file @
6d3a8605
...
...
@@ -274,10 +274,10 @@ fi
if test x$TARGET = xX86 || test x$TARGET = xX86_WIN32 || test x$TARGET = xX86_64; then
AC_CACHE_CHECK([assembler supports pc related relocs],
libffi_cv_as_x86_pcrel, [
libffi_cv_as_x86_pcrel=yes
echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
if $CC $CFLAGS -c conftest.s 2>&1 | grep -i warning > /dev/null; then
libffi_cv_as_x86_pcrel=no
echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
if $CC $CFLAGS -c conftest.s > /dev/null 2>&1; then
libffi_cv_as_x86_pcrel=yes
fi
])
if test "x$libffi_cv_as_x86_pcrel" = xyes; then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment