Rules.mak: Fix check_as for recent binutils versions
commit25751e796e83a75e0d443f96694e539ffbf4687a
authorMarcel Patzlaff <m.patzlaff@pilz.de>
Fri, 24 Apr 2020 12:09:23 +0000 (24 14:09 +0200)
committerWaldemar Brodkorb <wbx@openadk.org>
Mon, 27 Apr 2020 10:30:45 +0000 (27 12:30 +0200)
treebcbe9153a360d9786b1dc6bcb1f5cf7c69e77f3e
parentd987468fdcfe2091bd5d5481ea3a1ec24b12bca7
Rules.mak: Fix check_as for recent binutils versions

As described in https://bugs.busybox.net/show_bug.cgi?id=12801 the
check for '-Wa,--noexecstack' is not working since binutils 2.31.x.

This fix adapts the approach already taken with check_ld and uses a
temporary file. Further, check_gcc is also adapted to avoid future
problems.

Signed-off-by: Marcel Patzlaff <m.patzlaff@pilz.de>
Rules.mak