Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5d1febc9
Commit
5d1febc9
authored
May 02, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Use a separate LDFLAGS variable for cross-compilation.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
92233bfa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
makedep.c
tools/makedep.c
+4
-0
No files found.
tools/makedep.c
View file @
5d1febc9
...
...
@@ -2957,6 +2957,7 @@ static void output_source_spec( struct makefile *make, struct incl_file *source,
output_filename
(
source
->
filename
);
output_filename
(
obj_name
);
output_filenames
(
all_libs
);
output_filename
(
crosstarget
?
"$(CROSSLDFLAGS)"
:
"$(LDFLAGS)"
);
output
(
"
\n
"
);
}
...
...
@@ -3182,6 +3183,7 @@ static void output_module( struct makefile *make )
output_filenames_obj_dir
(
make
,
need_cross
?
make
->
crossobj_files
:
make
->
object_files
);
output_filenames_obj_dir
(
make
,
make
->
res_files
);
output_filenames
(
all_libs
);
output_filename
(
need_cross
?
"$(CROSSLDFLAGS)"
:
"$(LDFLAGS)"
);
output
(
"
\n
"
);
if
(
spec_file
&&
make
->
importlib
)
...
...
@@ -3340,6 +3342,7 @@ static void output_test_module( struct makefile *make )
output_filenames_obj_dir
(
make
,
crosstarget
?
make
->
crossobj_files
:
make
->
object_files
);
output_filenames_obj_dir
(
make
,
make
->
res_files
);
output_filenames
(
all_libs
);
output_filename
(
crosstarget
?
"$(CROSSLDFLAGS)"
:
"$(LDFLAGS)"
);
output
(
"
\n
"
);
output
(
"%s%s:
\n
"
,
obj_dir_path
(
make
,
stripped
),
ext
);
output_winegcc_command
(
make
,
!!
crosstarget
);
...
...
@@ -3349,6 +3352,7 @@ static void output_test_module( struct makefile *make )
output_filenames_obj_dir
(
make
,
crosstarget
?
make
->
crossobj_files
:
make
->
object_files
);
output_filenames_obj_dir
(
make
,
make
->
res_files
);
output_filenames
(
all_libs
);
output_filename
(
crosstarget
?
"$(CROSSLDFLAGS)"
:
"$(LDFLAGS)"
);
output
(
"
\n
"
);
output
(
"%s%s %s%s:"
,
obj_dir_path
(
make
,
testmodule
),
ext
,
obj_dir_path
(
make
,
stripped
),
ext
);
output_filenames_obj_dir
(
make
,
crosstarget
?
make
->
crossobj_files
:
make
->
object_files
);
...
...
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