Menu

#5 Fix binutils-2.36 compatibility

open
nobody
None
5
2021-11-27
2021-11-27
No

Before the change build failed as:

$ make
...
ar clq libAfterImage.a afterbase.o ...
ar: libdeps specified more than once

It used to work until binutils-2.36 because 'l' option was silently
ignored on binutils-2.35. On 2.36 'l' became 'libdeps' flag with
required option:

https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=f3016d6ce178b76002edde12c30ebe7f608a8e21

Applied change as:

$ sed -i 's/ar clq/ar cq/g' *.in */*.in
1 Attachments

Discussion


Log in to post a comment.