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
3f421410
Commit
3f421410
authored
Feb 14, 2024
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 15, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Move target filtering to assign_exports.
parent
3c9ede8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
parser.c
tools/winebuild/parser.c
+2
-7
No files found.
tools/winebuild/parser.c
View file @
3f421410
...
@@ -623,13 +623,6 @@ static int parse_spec_ordinal( int ordinal, DLLSPEC *spec )
...
@@ -623,13 +623,6 @@ static int parse_spec_ordinal( int ordinal, DLLSPEC *spec )
assert
(
0
);
assert
(
0
);
}
}
if
((
odp
->
flags
&
FLAG_CPU_MASK
)
&&
!
(
odp
->
flags
&
FLAG_CPU
(
target
.
cpu
)))
{
/* ignore this entry point */
spec
->
nb_entry_points
--
;
return
1
;
}
if
(
data_only
&&
!
(
odp
->
flags
&
FLAG_FORWARD
))
if
(
data_only
&&
!
(
odp
->
flags
&
FLAG_FORWARD
))
{
{
error
(
"Only forwarded entry points are allowed in data-only mode
\n
"
);
error
(
"Only forwarded entry points are allowed in data-only mode
\n
"
);
...
@@ -959,6 +952,8 @@ static void assign_exports( DLLSPEC *spec )
...
@@ -959,6 +952,8 @@ static void assign_exports( DLLSPEC *spec )
for
(
i
=
0
;
i
<
spec
->
nb_entry_points
;
i
++
)
for
(
i
=
0
;
i
<
spec
->
nb_entry_points
;
i
++
)
{
{
ORDDEF
*
entry
=
&
spec
->
entry_points
[
i
];
ORDDEF
*
entry
=
&
spec
->
entry_points
[
i
];
if
((
entry
->
flags
&
FLAG_CPU_MASK
)
&&
!
(
entry
->
flags
&
FLAG_CPU
(
target
.
cpu
)))
continue
;
exports
->
entry_points
[
exports
->
nb_entry_points
++
]
=
entry
;
exports
->
entry_points
[
exports
->
nb_entry_points
++
]
=
entry
;
}
}
...
...
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