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
0e954b14
Commit
0e954b14
authored
Feb 04, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Append the correct options for as and ld when forcing a 32/64-bit build.
parent
d07f67ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
utils.c
tools/winebuild/utils.c
+14
-0
No files found.
tools/winebuild/utils.c
View file @
0e954b14
...
...
@@ -207,6 +207,13 @@ const char *get_as_command(void)
{
as_command
=
xstrdup
(
"as"
);
}
if
(
force_pointer_size
)
{
const
char
*
args
=
(
force_pointer_size
==
8
)
?
" --64"
:
" --32"
;
as_command
=
xrealloc
(
as_command
,
strlen
(
as_command
)
+
strlen
(
args
)
+
1
);
strcat
(
as_command
,
args
);
}
}
return
as_command
;
}
...
...
@@ -225,6 +232,13 @@ const char *get_ld_command(void)
{
ld_command
=
xstrdup
(
"ld"
);
}
if
(
force_pointer_size
)
{
const
char
*
args
=
(
force_pointer_size
==
8
)
?
" -m elf_x86_64"
:
" -m elf_i386"
;
ld_command
=
xrealloc
(
ld_command
,
strlen
(
ld_command
)
+
strlen
(
args
)
+
1
);
strcat
(
ld_command
,
args
);
}
}
return
ld_command
;
}
...
...
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