Makefile/ci: Don't pass CFLAGS when linking
authorSitsofe Wheeler <sitsofe@yahoo.com>
Thu, 20 Aug 2020 08:05:03 +0000 (09:05 +0100)
committerSitsofe Wheeler <sitsofe@yahoo.com>
Sat, 12 Sep 2020 10:54:18 +0000 (11:54 +0100)
commitd6e082e7c9bd02d887db7bd0a6b16ed632cb743e
tree837025422abfc9860f3bdde1c9fb5ea22dec3760
parent76bc30ca118fda404f19c17d97bafdba9779c4c2
Makefile/ci: Don't pass CFLAGS when linking

There was an issue where a lld (the linker from LLVM) could fail because
a C compiler flag it didn't understand was passed to it. Fix this by no
longer passing CFLAGS to the linker.

As a result of the above, the travis "cross compiled" 32 bit Linux build
was changed to set LDFLAGS (so the linker can know about the cross
compiling).

Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
Makefile
ci/travis-build.sh