Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
abe79e3b
Commit
abe79e3b
authored
Jul 06, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Don't try to use a non-compliant cross-compiler.
parent
8f27e8f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
6 deletions
+16
-6
configure
configure
+8
-3
configure.ac
configure.ac
+8
-3
No files found.
configure
View file @
abe79e3b
...
...
@@ -10690,7 +10690,6 @@ fi
LDFLAGS
=
$saved_LDFLAGS
continue
fi
as_fn_append PE_ARCHS
"
$wine_arch
"
as_wine_cv_crosscc_c99
=
`
printf
"%s
\n
"
"ac_cv_
${
wine_arch
}
_crosscc_c99"
|
$as_tr_sh
`
...
...
@@ -10726,17 +10725,23 @@ fi
fi
eval
res
=
\$
$as_wine_cv_crosscc_c99
case
"x
$res
"
in
x
)
{
printf
"%s
\n
"
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: none needed"
>
&5
printf
"%s
\n
"
"none needed"
>
&6
;
}
;;
xno
)
{
printf
"%s
\n
"
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: unsupported"
>
&5
printf
"%s
\n
"
"unsupported"
>
&6
;
}
;;
printf
"%s
\n
"
"unsupported"
>
&6
;
}
CC
=
$saved_CC
CFLAGS
=
$saved_CFLAGS
LDFLAGS
=
$saved_LDFLAGS
continue
;;
x
*
)
{
printf
"%s
\n
"
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$res
"
>
&5
printf
"%s
\n
"
"
$res
"
>
&6
;
}
as_fn_append
${
wine_arch
}
_CC
"
$res
"
;;
esac
as_fn_append PE_ARCHS
"
$wine_arch
"
{
as_ac_var
=
`
printf
"%s
\n
"
"ac_cv_
${
wine_arch
}
_cflags_-fno-strict-aliasing"
|
$as_tr_sh
`
{
printf
"%s
\n
"
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether
$CC
supports -fno-strict-aliasing"
>
&5
printf
%s
"checking whether
$CC
supports -fno-strict-aliasing... "
>
&6
;
}
...
...
configure.ac
View file @
abe79e3b
...
...
@@ -902,7 +902,6 @@ do
LDFLAGS=$saved_LDFLAGS
continue
fi
AS_VAR_APPEND([PE_ARCHS],[" $wine_arch"])
AS_VAR_PUSHDEF([wine_cv_crosscc_c99],[ac_cv_${wine_arch}_crosscc_c99])
AC_MSG_CHECKING([for $CC option to enable C99 features])
...
...
@@ -918,14 +917,20 @@ do
AS_VAR_IF([wine_cv_crosscc_c99],[no],[],[break])
done])
AS_VAR_COPY([res],[wine_cv_crosscc_c99])
AS_VAR_POPDEF([wine_cv_crosscc_c99])
case "x$res" in
x) AC_MSG_RESULT([none needed]) ;;
xno) AC_MSG_RESULT([unsupported]) ;;
xno) AC_MSG_RESULT([unsupported])
CC=$saved_CC
CFLAGS=$saved_CFLAGS
LDFLAGS=$saved_LDFLAGS
continue
;;
x*) AC_MSG_RESULT([$res])
AS_VAR_APPEND([${wine_arch}_CC],[" $res"]) ;;
esac
AS_VAR_POPDEF([wine_cv_crosscc_c99])
AS_VAR_APPEND([PE_ARCHS],[" $wine_arch"])
WINE_TRY_PE_CFLAGS([-fno-strict-aliasing])
dnl clang needs to be told to fail on unknown options
WINE_TRY_PE_CFLAGS([-Werror=unknown-warning-option],[CFLAGS="$CFLAGS -Werror=unknown-warning-option"])
...
...
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