Ignore:
Timestamp:
03/04/2021 09:56:47 AM (3 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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:
f3634b6
Parents:
5d2965c
Message:

CFLAGS/CPPFLAGS cleanup

Move -I and -D into CPPFLAGS, and for others use ${CFLAGS:--O2 -g} to
prevent from building "non-optimized" binary.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24334 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/netprogs/samba.xml

    r5d2965c rf4302700  
    186186    </para>
    187187
    188 <screen revision="sysv"><userinput>CFLAGS="-I/usr/include/tirpc"          \
     188<screen revision="sysv"><userinput>CPPFLAGS="-I/usr/include/tirpc"        \
    189189LDFLAGS="-ltirpc"                      \
    190190./configure                            \
     
    200200make</userinput></screen>
    201201
    202 <screen revision="systemd"><userinput>CFLAGS="-I/usr/include/tirpc"          \
     202<screen revision="systemd"><userinput>CPPFLAGS="-I/usr/include/tirpc"        \
    203203LDFLAGS="-ltirpc"                      \
    204204./configure                            \
Note: See TracChangeset for help on using the changeset viewer.