Bug 65645 - --without-system-zlib has no impact in gcc directory
Summary: --without-system-zlib has no impact in gcc directory
Status: UNCONFIRMED
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 5.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-01 03:51 UTC by H.J. Lu
Modified: 2015-04-01 03:51 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2015-04-01 03:51:43 UTC
When GCC is configured with --without-system-zlib, cc1 is still
linked with system zlib due to

# Use the system's zlib library.
zlibdir=-L../zlib
zlibinc="-I\$(srcdir)/../zlib"
AC_ARG_WITH(system-zlib,
[AS_HELP_STRING([--with-system-zlib], [use installed libz])],
zlibdir=
zlibinc=
)
AC_SUBST(zlibdir)
AC_SUBST(zlibinc)

in gcc/configure.ac.

if test x$with_system_zlib = xyes ; then
fi

is missing.