mk: use --sysroot instead of manually adding crt files/library paths
commita1a115a8ad2fcd7662b7afc3cfad4172c150601f
authorLauri Tirkkonen <lotheac@iki.fi>
Sat, 11 May 2019 00:17:38 +0000 (11 00:17 +0000)
committerLauri Tirkkonen <lotheac@iki.fi>
Sat, 11 May 2019 21:21:07 +0000 (11 21:21 +0000)
treea6f3de2e9eebebb4191418c113d41215b0e7a0ce
parent317b48d5fddf43d65b6efa8c37b68cd0857301a7
mk: use --sysroot instead of manually adding crt files/library paths

gnu linker doesn't like the -L${DESTDIR}/usr/lib for amd64 stuff (since it
finds 32bit libc.so in there), but more importantly it doesn't make much sense
to duplicate by hand what the compiler frontend is supposed to do.
bin/Makefile.inc
share/mk/prog.mk