mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
5dcac6d2e3
Use a minimal assembly snippet to check for linker flags. This has the advantage that it will work even if only the cross-toolchain is installed, but not, for example, stdlib. Using the C snippet, the check runs in a similar error like this: /usr/bin/s390x-linux-gnu-ld: cannot find crt1.o: No such file or directory /usr/bin/s390x-linux-gnu-ld: cannot find crti.o: No such file or directory /usr/bin/s390x-linux-gnu-ld: cannot find -lc: No such file or directory /usr/bin/s390x-linux-gnu-ld: cannot find crtn.o: No such file or directory Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
16 KiB
16 KiB