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
2cc7fe21
Commit
2cc7fe21
authored
Oct 15, 2009
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Oct 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Add support for PLATFORM_FREEBSD to get_ld_command.
parent
289ed3ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
utils.c
tools/winebuild/utils.c
+14
-3
No files found.
tools/winebuild/utils.c
View file @
2cc7fe21
...
...
@@ -297,9 +297,20 @@ const char *get_ld_command(void)
if
(
force_pointer_size
)
{
const
char
*
args
=
(
target_platform
==
PLATFORM_APPLE
)
?
((
force_pointer_size
==
8
)
?
" -arch x86_64"
:
" -arch i386"
)
:
((
force_pointer_size
==
8
)
?
" -m elf_x86_64"
:
" -m elf_i386"
);
const
char
*
args
;
switch
(
target_platform
)
{
case
PLATFORM_APPLE
:
args
=
(
force_pointer_size
==
8
)
?
" -arch x86_64"
:
" -arch i386"
;
break
;
case
PLATFORM_FREEBSD
:
args
=
(
force_pointer_size
==
8
)
?
" -m elf_x86_64"
:
" -m elf_i386_fbsd"
;
break
;
default:
args
=
(
force_pointer_size
==
8
)
?
" -m elf_x86_64"
:
" -m elf_i386"
;
break
;
}
ld_command
=
xrealloc
(
ld_command
,
strlen
(
ld_command
)
+
strlen
(
args
)
+
1
);
strcat
(
ld_command
,
args
);
}
...
...
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