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
5288196f
Commit
5288196f
authored
Apr 11, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: Add support for the -fasynchronous-unwind-tables option.
parent
3dfbbb59
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 @
5288196f
...
...
@@ -195,6 +195,7 @@ struct options
int
compile_only
;
int
force_pointer_size
;
int
large_address_aware
;
int
unwind_tables
;
const
char
*
wine_objdir
;
const
char
*
output_name
;
const
char
*
image_base
;
...
...
@@ -488,6 +489,8 @@ static strarray *get_winebuild_args(struct options *opts)
strarray_add
(
spec_args
,
"--target"
);
strarray_add
(
spec_args
,
opts
->
target
);
}
if
(
opts
->
unwind_tables
)
strarray_add
(
spec_args
,
"-fasynchronous-unwind-tables"
);
else
strarray_add
(
spec_args
,
"-fno-asynchronous-unwind-tables"
);
return
spec_args
;
}
...
...
@@ -1224,6 +1227,10 @@ int main(int argc, char **argv)
case
'f'
:
if
(
strcmp
(
"-fno-short-wchar"
,
argv
[
i
])
==
0
)
opts
.
noshortwchar
=
1
;
else
if
(
!
strcmp
(
"-fasynchronous-unwind-tables"
,
argv
[
i
]))
opts
.
unwind_tables
=
1
;
else
if
(
!
strcmp
(
"-fno-asynchronous-unwind-tables"
,
argv
[
i
]))
opts
.
unwind_tables
=
0
;
break
;
case
'l'
:
strarray_add
(
opts
.
files
,
strmake
(
"-l%s"
,
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