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
00198c40
Commit
00198c40
authored
Apr 08, 2024
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: Add -marm64x option for linking ARM64X images.
parent
753f4055
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
winegcc.c
tools/winegcc/winegcc.c
+13
-0
No files found.
tools/winegcc/winegcc.c
View file @
00198c40
...
@@ -191,6 +191,7 @@ struct options
...
@@ -191,6 +191,7 @@ struct options
const
char
*
entry_point
;
const
char
*
entry_point
;
const
char
*
debug_file
;
const
char
*
debug_file
;
const
char
*
out_implib
;
const
char
*
out_implib
;
const
char
*
native_arch
;
struct
strarray
prefix
;
struct
strarray
prefix
;
struct
strarray
lib_dirs
;
struct
strarray
lib_dirs
;
struct
strarray
args
;
struct
strarray
args
;
...
@@ -1232,6 +1233,13 @@ static void build(struct options* opts)
...
@@ -1232,6 +1233,13 @@ static void build(struct options* opts)
build_spec_obj
(
opts
,
spec_file
,
output_file
,
opts
->
target_alias
,
files
,
resources
,
lib_dirs
,
build_spec_obj
(
opts
,
spec_file
,
output_file
,
opts
->
target_alias
,
files
,
resources
,
lib_dirs
,
entry_point
,
&
spec_objs
);
entry_point
,
&
spec_objs
);
if
(
opts
->
native_arch
)
{
const
char
*
suffix
=
strchr
(
opts
->
target_alias
,
'-'
);
if
(
!
suffix
)
suffix
=
""
;
build_spec_obj
(
opts
,
spec_file
,
output_file
,
strmake
(
"%s%s"
,
opts
->
native_arch
,
suffix
),
files
,
empty_strarray
,
lib_dirs
,
entry_point
,
&
spec_objs
);
}
if
(
opts
->
fake_module
)
return
;
/* nothing else to do */
if
(
opts
->
fake_module
)
return
;
/* nothing else to do */
...
@@ -1707,6 +1715,11 @@ int main(int argc, char **argv)
...
@@ -1707,6 +1715,11 @@ int main(int argc, char **argv)
{
{
raw_linker_arg
=
1
;
raw_linker_arg
=
1
;
}
}
else
if
(
!
strcmp
(
"-marm64x"
,
opts
.
args
.
str
[
i
]
))
{
raw_linker_arg
=
1
;
opts
.
native_arch
=
"aarch64"
;
}
else
if
(
!
strncmp
(
"-mcpu="
,
opts
.
args
.
str
[
i
],
6
)
||
else
if
(
!
strncmp
(
"-mcpu="
,
opts
.
args
.
str
[
i
],
6
)
||
!
strncmp
(
"-mfpu="
,
opts
.
args
.
str
[
i
],
6
)
||
!
strncmp
(
"-mfpu="
,
opts
.
args
.
str
[
i
],
6
)
||
!
strncmp
(
"-march="
,
opts
.
args
.
str
[
i
],
7
))
!
strncmp
(
"-march="
,
opts
.
args
.
str
[
i
],
7
))
...
...
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