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
4768b11c
Commit
4768b11c
authored
Jun 14, 2012
by
Damjan Jovanovic
Committed by
Alexandre Julliard
Jun 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Support the mingw32 target without an i[3456]86- prefix.
parent
009ad8a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
main.c
tools/winebuild/main.c
+15
-6
No files found.
tools/winebuild/main.c
View file @
4768b11c
...
...
@@ -191,12 +191,21 @@ static void set_target( const char *target )
/* get the CPU part */
if
(
!
(
p
=
strchr
(
spec
,
'-'
)))
fatal_error
(
"Invalid target specification '%s'
\n
"
,
target
);
*
p
++
=
0
;
if
((
target_cpu
=
get_cpu_from_name
(
spec
))
==
-
1
)
fatal_error
(
"Unrecognized CPU '%s'
\n
"
,
spec
);
platform
=
p
;
if
((
p
=
strrchr
(
p
,
'-'
)))
platform
=
p
+
1
;
if
((
p
=
strchr
(
spec
,
'-'
)))
{
*
p
++
=
0
;
if
((
target_cpu
=
get_cpu_from_name
(
spec
))
==
-
1
)
fatal_error
(
"Unrecognized CPU '%s'
\n
"
,
spec
);
platform
=
p
;
if
((
p
=
strrchr
(
p
,
'-'
)))
platform
=
p
+
1
;
}
else
if
(
!
strcmp
(
spec
,
"mingw32"
))
{
target_cpu
=
CPU_x86
;
platform
=
spec
;
}
else
fatal_error
(
"Invalid target specification '%s'
\n
"
,
target
);
/* get the OS part */
...
...
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