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
0c7a1be1
Commit
0c7a1be1
authored
Nov 24, 2023
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: Support --no-default-config argument.
parent
471d7178
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
winegcc.c
tools/winegcc/winegcc.c
+7
-0
No files found.
tools/winegcc/winegcc.c
View file @
0c7a1be1
...
...
@@ -177,6 +177,7 @@ struct options
int
unwind_tables
;
int
strip
;
int
pic
;
int
no_default_config
;
const
char
*
wine_objdir
;
const
char
*
winebuild
;
const
char
*
output_name
;
...
...
@@ -299,6 +300,7 @@ static struct strarray build_tool_name( struct options *opts, enum tool tool )
}
strarray_add
(
&
ret
,
"-Wno-unused-command-line-argument"
);
strarray_add
(
&
ret
,
"-fuse-ld=lld"
);
if
(
opts
->
no_default_config
)
strarray_add
(
&
ret
,
"--no-default-config"
);
}
return
ret
;
}
...
...
@@ -1851,6 +1853,11 @@ int main(int argc, char **argv)
case
'-'
:
if
(
strcmp
(
"-static"
,
opts
.
args
.
str
[
i
]
+
1
)
==
0
)
linking
=
-
1
;
else
if
(
!
strcmp
(
"-no-default-config"
,
opts
.
args
.
str
[
i
]
+
1
))
{
opts
.
no_default_config
=
1
;
raw_compiler_arg
=
raw_linker_arg
=
1
;
}
else
if
(
is_option
(
&
opts
,
i
,
"--sysroot"
,
&
option_arg
))
{
opts
.
sysroot
=
option_arg
;
...
...
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