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
64e43b61
Commit
64e43b61
authored
Feb 04, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: Pass the -m32/-m64 options to winebuild too.
parent
dca16329
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
winegcc.c
tools/winegcc/winegcc.c
+12
-1
No files found.
tools/winegcc/winegcc.c
View file @
64e43b61
...
...
@@ -202,6 +202,7 @@ struct options
int
gui_app
;
int
unicode_app
;
int
compile_only
;
int
force_pointer_size
;
const
char
*
wine_objdir
;
const
char
*
output_name
;
const
char
*
image_base
;
...
...
@@ -643,6 +644,8 @@ static void build(struct options* opts)
strarray_add
(
spec_args
,
"--target"
);
strarray_add
(
spec_args
,
opts
->
target
);
}
if
(
opts
->
force_pointer_size
)
strarray_add
(
spec_args
,
strmake
(
"-m%u"
,
8
*
opts
->
force_pointer_size
));
strarray_add
(
spec_args
,
"--as-cmd"
);
strarray_add
(
spec_args
,
AS
);
strarray_add
(
spec_args
,
"--ld-cmd"
);
...
...
@@ -1064,8 +1067,16 @@ int main(int argc, char **argv)
opts
.
gui_app
=
0
;
else
if
(
strcmp
(
"-municode"
,
argv
[
i
])
==
0
)
opts
.
unicode_app
=
1
;
else
if
(
strcmp
(
"-m32"
,
argv
[
i
])
==
0
||
strcmp
(
"-m64"
,
argv
[
i
])
==
0
)
else
if
(
strcmp
(
"-m32"
,
argv
[
i
])
==
0
)
{
opts
.
force_pointer_size
=
4
;
raw_linker_arg
=
1
;
}
else
if
(
strcmp
(
"-m64"
,
argv
[
i
])
==
0
)
{
opts
.
force_pointer_size
=
8
;
raw_linker_arg
=
1
;
}
break
;
case
'n'
:
if
(
strcmp
(
"-nostdinc"
,
argv
[
i
])
==
0
)
...
...
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