mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 23:07:23 +08:00
dhcp-4.4.1: Avoid compile error with new gcc by exporting CFLAGS.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20561 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
73437f9e30
commit
44fc64d799
@ -45,6 +45,11 @@
|
||||
<listitem>
|
||||
<para>October 3rd, 2018</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[thomas] - Export CFLAGS in dhcp to avoid a compile error caused
|
||||
by new versions of gcc. Fixes
|
||||
<ulink url="&blfs-ticket-root;11199">#11199</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[thomas] - Use stable branch (9.12.2-P2) for bind and bind-utils.
|
||||
Fixes <ulink url="&blfs-ticket-root;11166">#11166</ulink>.</para>
|
||||
|
@ -152,7 +152,12 @@
|
||||
the following commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>CFLAGS="-D_PATH_DHCLIENT_SCRIPT='\"/sbin/dhclient-script\"' \
|
||||
<!--
|
||||
Running ( export CFLAGS=... ./configure ... ) in a subshell
|
||||
preserves CFLAGS if they are set in environment
|
||||
-->
|
||||
<screen><userinput>( export CFLAGS="$CFLAGS -Wall -fno-strict-aliasing \
|
||||
-D_PATH_DHCLIENT_SCRIPT='\"/sbin/dhclient-script\"' \
|
||||
-D_PATH_DHCPD_CONF='\"/etc/dhcp/dhcpd.conf\"' \
|
||||
-D_PATH_DHCLIENT_CONF='\"/etc/dhcp/dhclient.conf\"'" &&
|
||||
|
||||
@ -162,7 +167,8 @@
|
||||
--with-srv-lease-file=/var/lib/dhcpd/dhcpd.leases \
|
||||
--with-srv6-lease-file=/var/lib/dhcpd/dhcpd6.leases \
|
||||
--with-cli-lease-file=/var/lib/dhclient/dhclient.leases \
|
||||
--with-cli6-lease-file=/var/lib/dhclient/dhclient6.leases &&
|
||||
--with-cli6-lease-file=/var/lib/dhclient/dhclient6.leases
|
||||
) &&
|
||||
make -j1</userinput></screen>
|
||||
|
||||
<para>
|
||||
|
Loading…
Reference in New Issue
Block a user