aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/companion_libs/050-zlib.sh
Commit message (Collapse)AuthorAgeFilesLines
* Fix zlib build on win32 near enviromentsQuentin Boswank2023-12-181-2/+0
| | | | | | | We set some variables for linking zlib to '' which we shouldn't do. Let the Makefile sort these things out. Signed-off-by: Quentin Boswank <qubos@outlook.de>
* Enable support for building libgccjitMarc Poulhiès2022-12-181-0/+4
| | | | | | | | | | | | | | | | | | | | | libgccjit is still under development and, despite its name, may also be used for ahead-of-time compilation. Documentation can be found on the gcc website: https://gcc.gnu.org/onlinedocs/jit/internals/index.html https://gcc.gnu.org/wiki/JIT With this change it's possible to enable the building of the libgccjit. It's enabled as a language (with --enable-languages=jit) even if not a language frontend at all. The main changes are related to the requirement of having everything host side built as Position Independent Code (PIC) with --enable-host-shared. GCC has the needed logic for building its dependencies (mpc, gmp, mpfr, ...) correctly when built "in-tree", which is not the case with crosstool-ng (see https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=05048fc29f0) Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
* Rename JOBSFLAGS -> CT_JOBSFLAGSAlexey Neyman2019-04-041-1/+1
| | | | | | ... so that it is saved/restored when restarting the build. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix the references to old config variablesAlexey Neyman2017-07-081-6/+4
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Handle ming32 as a hostAlexey Neyman2017-05-241-14/+35
| | | | | | | | | | | zlib refuses to run configure with mingw32 host and insists that win32/Makefile.gcc is used instead. This requires a change in this Makefile to support static-only builds. Fixes #694. Signed-off-by: Alexey Neyman <stilor@att.net>
* Use CHOST instead of CROSS_PREFIXAlexey Neyman2017-03-061-1/+1
| | | | | | | The latter does not prevent zlib's configure from overriding 'AR' with /usr/bin/libtool on macos, and that breaks canadian crosses. Signed-off-by: Alexey Neyman <stilor@att.net>
* Skip comp.libs checking on host for canadianAlexey Neyman2017-02-111-2/+7
| | | | | | | ... they all want to run the binaries they produced, which fails when build!=host. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add zlib as a companion libAlexey Neyman2017-02-051-0/+108
with version 1.2.11. Signed-off-by: Alexey Neyman <stilor@att.net>