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
bcc1379b
Commit
bcc1379b
authored
Feb 02, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: Add support for the --sysroot option to allow out-of-tree cross-compiling.
parent
b09418b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
Make.rules.in
Make.rules.in
+1
-1
winegcc.c
tools/winegcc/winegcc.c
+6
-0
No files found.
Make.rules.in
View file @
bcc1379b
...
...
@@ -71,7 +71,7 @@ MAKECTESTS = $(TOOLSDIR)/tools/make_ctests
WRC = $(TOOLSDIR)/tools/wrc/wrc
WMC = $(TOOLSDIR)/tools/wmc/wmc
WIDL = $(TOOLSDIR)/tools/widl/widl
WINEGCC = $(TOOLSDIR)/tools/winegcc/winegcc $(TARGETFLAGS) -B$(TOOLSDIR)/tools/winebuild
WINEGCC = $(TOOLSDIR)/tools/winegcc/winegcc $(TARGETFLAGS) -B$(TOOLSDIR)/tools/winebuild
--sysroot=$(TOPOBJDIR)
RELPATH = $(TOOLSDIR)/tools/relpath
SFNT2FNT = $(TOOLSDIR)/tools/sfnt2fnt
FNT2FON = $(TOOLSDIR)/tools/fnt2fon
...
...
tools/winegcc/winegcc.c
View file @
bcc1379b
...
...
@@ -1154,6 +1154,12 @@ int main(int argc, char **argv)
case
'-'
:
if
(
strcmp
(
"-static"
,
argv
[
i
]
+
1
)
==
0
)
linking
=
-
1
;
else
if
(
!
strncmp
(
"--sysroot"
,
argv
[
i
],
9
)
&&
opts
.
wine_objdir
)
{
if
(
argv
[
i
][
9
]
==
'='
)
opts
.
wine_objdir
=
argv
[
i
]
+
10
;
else
opts
.
wine_objdir
=
argv
[
++
i
];
raw_compiler_arg
=
raw_linker_arg
=
0
;
}
break
;
}
...
...
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