Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
cecd09ce
Commit
cecd09ce
authored
May 15, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
May 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Check if --disable-stdcall-fixup is supported before using it.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
033713b0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
2 deletions
+27
-2
configure
configure
+25
-1
configure.ac
configure.ac
+2
-1
No files found.
configure
View file @
cecd09ce
...
...
@@ -8237,7 +8237,31 @@ fi
LIBEXT
=
"dll"
DLLEXT
=
""
case
$host_cpu
in
*
i[3456]86
*
)
LDDLLFLAGS
=
"-Wl,--disable-stdcall-fixup"
;;
*
i[3456]86
*
)
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether the compiler supports -Wl,--disable-stdcall-fixup"
>
&5
$as_echo_n
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... "
>
&6
;
}
if
${
ac_cv_cflags__Wl___disable_stdcall_fixup
+
:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
else
ac_wine_try_cflags_saved
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-Wl,--disable-stdcall-fixup"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
int main(int argc, char **argv) { return 0; }
_ACEOF
if
ac_fn_c_try_link
"
$LINENO
"
;
then
:
ac_cv_cflags__Wl___disable_stdcall_fixup
=
yes
else
ac_cv_cflags__Wl___disable_stdcall_fixup
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
\
conftest
$ac_exeext
conftest.
$ac_ext
CFLAGS
=
$ac_wine_try_cflags_saved
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_cflags__Wl___disable_stdcall_fixup
"
>
&5
$as_echo
"
$ac_cv_cflags__Wl___disable_stdcall_fixup
"
>
&6
;
}
if
test
"x
$ac_cv_cflags__Wl___disable_stdcall_fixup
"
=
xyes
;
then
:
LDDLLFLAGS
=
"-Wl,--disable-stdcall-fixup"
fi
;;
esac
enable_iphlpapi
=
${
enable_iphlpapi
:-
no
}
enable_kernel32
=
${
enable_kernel32
:-
no
}
...
...
configure.ac
View file @
cecd09ce
...
...
@@ -727,7 +727,8 @@ case $host_os in
DLLEXT=""
dnl Disable stdcall fixups to catch prototype mismatches
case $host_cpu in
*i[[3456]]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
*i[[3456]]86*) WINE_TRY_CFLAGS([-Wl,--disable-stdcall-fixup],
[LDDLLFLAGS="-Wl,--disable-stdcall-fixup"]) ;;
esac
dnl Disable modules that can't be used on Windows
enable_iphlpapi=${enable_iphlpapi:-no}
...
...
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