Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PoroCYon
smol
Commits
5a42351a
Commit
5a42351a
authored
Jun 21, 2020
by
PoroCYon
Committed by
PoroCYon
Jul 11, 2020
Browse files
fix makefile for gcc 10
parent
7e384a44
Changes
2
Show whitespace changes
Inline
Side-by-side
Makefile
View file @
5a42351a
...
...
@@ -64,11 +64,16 @@ clean:
%/
:
@
mkdir
-vp
"
$@
"
# TODO: handle this in a more graceful and future-proof way!
ifneq
($(findstring (GCC) 9,$(shell $(CC) --version)),)
INCLINKOPT
:=
-flinker-output
=
nolto-rel
else
ifneq
($(findstring (GCC) 10,$(shell $(CC) --version)),)
INCLINKOPT
:=
-flinker-output
=
nolto-rel
else
INCLINKOPT
:=
endif
endif
.SECONDARY
:
...
...
src/smol.py
View file @
5a42351a
...
...
@@ -69,6 +69,7 @@ def main():
libnames
=
args
.
library
libs
=
list
(
find_libs
(
spaths
,
libnames
))
symbols
=
{}
#print("libs = " + str(libs))
for
symbol
,
reloc
in
syms
:
library
=
find_symbol
(
args
.
scanelf
,
libs
,
libnames
,
symbol
)
...
...
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