Merge: Docker, portability and crosscompiling tweaks
authorJean Privat <jean@pryen.org>
Mon, 20 Mar 2017 20:08:59 +0000 (16:08 -0400)
committerJean Privat <jean@pryen.org>
Mon, 20 Mar 2017 20:08:59 +0000 (16:08 -0400)
commit67339271af90e06a99f5f0d85ffbaf8bf9e237e4
tree1a347c2301f48a32b030d60c206cd8ce2f9723c3
parentf36e6258419d1af1b83599dc5ef43dfd5ecfaad4
parent0eedb1c0efff56067cebce1992122c51bb4ce5d0
Merge: Docker, portability and crosscompiling tweaks

* Add the missing SDL2 package (since #2376) to the full DockerFile.
* Fix a warning raised by the C compiler when called by niti on 32 bits platforms.
* Clean up Makefile generation and enable using environment variables to override the default C compiler, C++ compiler, CFLAGS and whether or not to use libunwind. Making it possible to change the compiler for cross compilation and to skip linking with libunwind to create binaries compatible with more GNU/Linux systems.

Pull-Request: #2390
Reviewed-by: Romain Chanoir <romain.chanoir@viacesi.fr>
src/compiler/abstract_compiler.nit