Changeset 44fc64d for networking


Ignore:
Timestamp:
10/03/2018 08:52:55 PM (6 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.4, 9.0, 9.1, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
2890c04f
Parents:
73437f9
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/connect/dhcp.xml

    r73437f9 r44fc64d  
    153153    </para>
    154154
    155 <screen><userinput>CFLAGS="-D_PATH_DHCLIENT_SCRIPT='\"/sbin/dhclient-script\"'         \
     155<!--
     156   Running ( export CFLAGS=... ./configure ... ) in a subshell
     157   preserves CFLAGS if they are set in environment
     158-->
     159<screen><userinput>( export CFLAGS="$CFLAGS -Wall -fno-strict-aliasing                 \
     160        -D_PATH_DHCLIENT_SCRIPT='\"/sbin/dhclient-script\"'         \
    156161        -D_PATH_DHCPD_CONF='\"/etc/dhcp/dhcpd.conf\"'               \
    157162        -D_PATH_DHCLIENT_CONF='\"/etc/dhcp/dhclient.conf\"'"        &amp;&amp;
     
    163168            --with-srv6-lease-file=/var/lib/dhcpd/dhcpd6.leases     \
    164169            --with-cli-lease-file=/var/lib/dhclient/dhclient.leases \
    165             --with-cli6-lease-file=/var/lib/dhclient/dhclient6.leases &amp;&amp;
     170            --with-cli6-lease-file=/var/lib/dhclient/dhclient6.leases
     171) &amp;&amp;
    166172make -j1</userinput></screen>
    167173
Note: See TracChangeset for help on using the changeset viewer.