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
c096d6ce
Commit
c096d6ce
authored
Nov 25, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 28, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Use -nostdlib instead of -nostartfiles in WINE_TRY_PE_CFLAGS.
-nostartfiles is not enough if clang is configured with explicit default rtlib.
parent
06aac5a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
31 deletions
+31
-31
aclocal.m4
aclocal.m4
+1
-1
configure
configure
+30
-30
No files found.
aclocal.m4
View file @
c096d6ce
...
...
@@ -208,7 +208,7 @@ AC_DEFUN([WINE_TRY_PE_CFLAGS],
AC_CACHE_CHECK([whether $CC supports $1], ac_var,
[ac_wine_try_cflags_saved=$CFLAGS
ac_wine_try_cflags_saved_exeext=$ac_exeext
CFLAGS="$CFLAGS -nost
artfiles
-nodefaultlibs $1"
CFLAGS="$CFLAGS -nost
dlib
-nodefaultlibs $1"
ac_exeext=".exe"
AC_LINK_IFELSE([AC_LANG_SOURCE([[int __cdecl mainCRTStartup(void) { return 0; }]])],
[AS_VAR_SET(ac_var,yes)], [AS_VAR_SET(ac_var,no)])
...
...
configure
View file @
c096d6ce
...
...
@@ -10856,7 +10856,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -target
$llvm_target
$llvm_cflags
"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -target
$llvm_target
$llvm_cflags
"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -10949,7 +10949,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -fno-strict-aliasing"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -fno-strict-aliasing"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -10982,7 +10982,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Werror=unknown-warning-option"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Werror=unknown-warning-option"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11015,7 +11015,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Werror=ignored-optimization-argument"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Werror=ignored-optimization-argument"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11048,7 +11048,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wdeclaration-after-statement"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wdeclaration-after-statement"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11081,7 +11081,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wempty-body"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wempty-body"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11114,7 +11114,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wignored-qualifiers"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wignored-qualifiers"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11147,7 +11147,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Winit-self"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Winit-self"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11180,7 +11180,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wpacked-not-aligned"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wpacked-not-aligned"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11213,7 +11213,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wpragma-pack"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wpragma-pack"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11246,7 +11246,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wshift-overflow=2"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wshift-overflow=2"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11279,7 +11279,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wstrict-prototypes"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wstrict-prototypes"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11312,7 +11312,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wtype-limits"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wtype-limits"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11345,7 +11345,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wunused-but-set-parameter"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wunused-but-set-parameter"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11378,7 +11378,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wvla"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wvla"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11411,7 +11411,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wwrite-strings"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wwrite-strings"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11444,7 +11444,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wpointer-arith"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wpointer-arith"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11477,7 +11477,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wlogical-op"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wlogical-op"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11510,7 +11510,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wabsolute-value"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wabsolute-value"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11545,7 +11545,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -fno-omit-frame-pointer"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -fno-omit-frame-pointer"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11578,7 +11578,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wl,--disable-stdcall-fixup"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wl,--disable-stdcall-fixup"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11611,7 +11611,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wno-format"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wno-format"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11644,7 +11644,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wformat-overflow"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wformat-overflow"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11677,7 +11677,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wnonnull"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wnonnull"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11710,7 +11710,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -mcx16"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -mcx16"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11743,7 +11743,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wno-format"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wno-format"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11799,7 +11799,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -gdwarf-4"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -gdwarf-4"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11832,7 +11832,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -gcodeview"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -gcodeview"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11869,7 +11869,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Werror"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Werror"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -11902,7 +11902,7 @@ then :
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nost
artfiles
-nodefaultlibs -Wl,--build-id"
CFLAGS
=
"
$CFLAGS
-nost
dlib
-nodefaultlibs -Wl,--build-id"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
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