Author: xry111
Date: Wed Mar 3 07:18:30 2021
New Revision: 24329
Log:
sqlite: use CPPFLAGS for -D options
Modified:
trunk/BOOK/server/databases/sqlite.xml
Modified: trunk/BOOK/server/databases/sqlite.xml
==============================================================================
--- trunk/BOOK/server/databases/sqlite.xml Wed Mar 3 00:48:29 2021
(r24328)
+++ trunk/BOOK/server/databases/sqlite.xml Wed Mar 3 07:18:30 2021
(r24329)
@@ -131,8 +131,7 @@
<screen><userinput>./configure --prefix=/usr \
--disable-static \
--enable-fts5 \
- CFLAGS="-g -O2 \
- -DSQLITE_ENABLE_FTS3=1 \
+ CPPFLAGS="-DSQLITE_ENABLE_FTS3=1 \
-DSQLITE_ENABLE_FTS4=1 \
-DSQLITE_ENABLE_COLUMN_METADATA=1 \
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
@@ -173,8 +172,7 @@
</para>
<para>
- <parameter>CFLAGS="-g -O2
- -DSQLITE_ENABLE_FTS3=1
+ <parameter>CPPFLAGS="-DSQLITE_ENABLE_FTS3=1
-DSQLITE_ENABLE_FTS3_TOKENIZER=1
-DSQLITE_ENABLE_FTS4=1
-DSQLITE_ENABLE_COLUMN_METADATA=1
@@ -184,11 +182,10 @@
<application>SeaMonkey</application> require these options
to be turned on.
The only way to do this is to include them in
- the CFLAGS.
- By default, these are set to <literal>"-g -O2"</literal> so we
- specify that to preserve those settings. You may, of course, wish to omit
- the <literal>'-g'</literal> if you do not wish to create debugging
- information. For further information on what can be specified see <ulink
+ the <envar>CFLAGS</envar> or <envar>CPPFLAGS</envar>.
+ We use the latter so the default value (or any value set by the user)
+ of <envar>CFLAGS</envar> won't be affected.
+ For further information on what can be specified see <ulink
url="http://www.sqlite.org/compile.html"/>.
</para>
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page