Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Richard Gobeille
EDuke32
Commits
857465ec
Commit
857465ec
authored
Jun 05, 2022
by
Richard Gobeille
Browse files
Makefile: if not 0 or 1, pass value of LTO variable as parameter to -flto argument
parent
7a786788
Changes
1
Hide whitespace changes
Inline
Side-by-side
Common.mak
View file @
857465ec
...
...
@@ -585,10 +585,14 @@ endif
ifneq
(0,$(LTO))
COMPILERFLAGS
+=
-DUSING_LTO
ifeq
(0,$(CLANG))
COMMONFLAGS
+=
-flto
ifeq
(1,$(LTO))
ifeq
(0,$(CLANG))
COMMONFLAGS
+=
-flto
else
COMMONFLAGS
+=
-flto
=
thin
endif
else
COMMONFLAGS
+=
-flto
=
thin
COMMONFLAGS
+=
-flto
=
$(LTO)
endif
endif
...
...
Write
Preview
Supports
Markdown
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