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
5a8ca9e2
Commit
5a8ca9e2
authored
Aug 27, 2013
by
Huw Davies
Committed by
Alexandre Julliard
Aug 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: Don't use DLLFLAGS in winegcc.
parent
2374cd52
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
Makefile.in
tools/winegcc/Makefile.in
+0
-1
winegcc.c
tools/winegcc/winegcc.c
+4
-2
No files found.
tools/winegcc/Makefile.in
View file @
5a8ca9e2
...
...
@@ -2,7 +2,6 @@ DEFS = \
-DINCLUDEDIR
=
"
\"
$(includedir)
\"
"
\
-DDLLDIR
=
"
\"
$(dlldir)
\"
"
\
-DLIBDIR
=
"
\"
$(libdir)
\"
"
\
-DDLLFLAGS
=
"
\"
@DLLFLAGS@
\"
"
\
-DCC
=
"
\"
$(CC)
\"
"
\
-DCPP
=
"
\"
@CPPBIN@
\"
"
\
-DCXX
=
"
\"
@CXX@
\"
"
\
...
...
tools/winegcc/winegcc.c
View file @
5a8ca9e2
...
...
@@ -511,7 +511,8 @@ static void compile(struct options* opts, const char* lang)
strarray_add
(
comp_args
,
"-fshort-wchar"
);
strarray_add
(
comp_args
,
"-DWINE_UNICODE_NATIVE"
);
}
strarray_addall
(
comp_args
,
strarray_fromstring
(
DLLFLAGS
,
" "
));
strarray_add
(
comp_args
,
"-D_REENTRANT"
);
strarray_add
(
comp_args
,
"-fPIC"
);
}
if
(
opts
->
target_cpu
==
CPU_x86_64
||
opts
->
target_cpu
==
CPU_ARM64
)
...
...
@@ -1010,7 +1011,8 @@ static void build(struct options* opts)
spec_o_name
=
get_temp_file
(
output_name
,
".spec.o"
);
if
(
opts
->
force_pointer_size
)
strarray_add
(
spec_args
,
strmake
(
"-m%u"
,
8
*
opts
->
force_pointer_size
));
strarray_addall
(
spec_args
,
strarray_fromstring
(
DLLFLAGS
,
" "
));
strarray_add
(
spec_args
,
"-D_REENTRANT"
);
strarray_add
(
spec_args
,
"-fPIC"
);
strarray_add
(
spec_args
,
opts
->
shared
?
"--dll"
:
"--exe"
);
if
(
fake_module
)
{
...
...
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