Commit f355e0af authored by Julien Muchembled's avatar Julien Muchembled

gcc,sqlite3: depends on zlib

parent 878c3b3a
...@@ -8,6 +8,7 @@ extends = ...@@ -8,6 +8,7 @@ extends =
../perl/buildout.cfg ../perl/buildout.cfg
../tar/buildout.cfg ../tar/buildout.cfg
../binutils/buildout.cfg ../binutils/buildout.cfg
../zlib/buildout.cfg
parts = parts =
gcc gcc
...@@ -30,7 +31,8 @@ post-install = ...@@ -30,7 +31,8 @@ post-install =
cd '@@LOCATION@@/bin' cd '@@LOCATION@@/bin'
ln -s gcc cc ln -s gcc cc
environment = environment =
LDFLAGS=-Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${isl:location}/lib -Wl,-rpath=${mpc:location}/lib -Wl,-rpath=${mpfr:location}/lib CPPFLAGS=-I${zlib:location}/include
LDFLAGS=-Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${isl:location}/lib -Wl,-rpath=${mpc:location}/lib -Wl,-rpath=${mpfr:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
PATH=${binutils:location}/bin:${gettext:location}/bin:${perl:location}/bin:${tar:location}/bin:%(PATH)s PATH=${binutils:location}/bin:${gettext:location}/bin:${perl:location}/bin:${tar:location}/bin:%(PATH)s
[gcc] [gcc]
......
[buildout] [buildout]
extends = ../readline/buildout.cfg extends =
../readline/buildout.cfg
../zlib/buildout.cfg
parts = parts =
sqlite3 sqlite3
...@@ -14,5 +16,5 @@ configure-options = ...@@ -14,5 +16,5 @@ configure-options =
# Increase MAX_VARIABLE_NUMBER like many os. For example: # Increase MAX_VARIABLE_NUMBER like many os. For example:
# https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/sqlite # https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/sqlite
environment = environment =
CPPFLAGS=-I${readline:location}/include -I${ncurses:location}/include -DSQLITE_MAX_VARIABLE_NUMBER=250000 CPPFLAGS=-I${readline:location}/include -I${ncurses:location}/include -I${zlib:location}/include -DSQLITE_MAX_VARIABLE_NUMBER=250000
LDFLAGS=-L@@LOCATION@@ -Wl,-rpath=${readline:location}/lib -Wl,-rpath=${ncurses:location}/lib -L${readline:location}/lib -L${ncurses:location}/lib LDFLAGS=-L@@LOCATION@@ -Wl,-rpath=${readline:location}/lib -Wl,-rpath=${ncurses:location}/lib -L${readline:location}/lib -L${ncurses:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
  • For GCC 8.2, libgfortran was linked to system zlib when zlib development files are installed. It's all the more strange that libgfortran does not actually need zlib. This commit didn't fix anything about that. Still investigating...

    /cc @jerome

  • Yes I also noticed this and just did slapos.core!207 (merged)

  • mentioned in commit 6db91afc

    Toggle commit list
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment