Changeset f622c396


Ignore:
Timestamp:
03/03/2021 03:18:30 PM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.0, ken/refactor-virt, lazarus, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
b9044d7
Parents:
33690a1
Message:

sqlite: use CPPFLAGS for -D options

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/databases/sqlite.xml

    r33690a1 rf622c396  
    132132            --disable-static  \
    133133            --enable-fts5     \
    134             CFLAGS="-g -O2                    \
    135             -DSQLITE_ENABLE_FTS3=1            \
     134            CPPFLAGS="-DSQLITE_ENABLE_FTS3=1  \
    136135            -DSQLITE_ENABLE_FTS4=1            \
    137136            -DSQLITE_ENABLE_COLUMN_METADATA=1 \
     
    174173
    175174    <para>
    176       <parameter>CFLAGS="-g -O2
    177       -DSQLITE_ENABLE_FTS3=1
     175      <parameter>CPPFLAGS="-DSQLITE_ENABLE_FTS3=1
    178176      -DSQLITE_ENABLE_FTS3_TOKENIZER=1
    179177      -DSQLITE_ENABLE_FTS4=1
     
    185183      to be turned on.
    186184      The only way to do this is to include them in
    187       the CFLAGS.
    188       By default, these are set to <literal>"-g -O2"</literal> so we
    189       specify that to preserve those settings. You may, of course, wish to omit
    190       the <literal>'-g'</literal> if you do not wish to create debugging
    191       information. For further information on what can be specified see <ulink
     185      the <envar>CFLAGS</envar> or <envar>CPPFLAGS</envar>.
     186      We use the latter so the default value (or any value set by the user)
     187      of <envar>CFLAGS</envar> won't be affected.
     188      For further information on what can be specified see <ulink
    192189      url="http://www.sqlite.org/compile.html"/>.
    193190    </para>
Note: See TracChangeset for help on using the changeset viewer.