At least on jaunty, sqlite3's debian/rules has:
DEB_OPT_FLAG := -O2 -fno-strict-aliasing -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE=1
-DSQLITE_ENABLE_FTS3 should really be -DSQLITE_ENABLE_FTS3=1 and -DSQLITE_CORE=1 should be listed, too, but I think it'll still work with just -DSQLITE_ENABLE_FTS3 as it is currently. so, this bug may already be fixed, which would be awesome. Need to confirm that, though, and really should be using -DSQLITE_CORE=1 -DSQLITE_ENABLE_FTS3=1 for flags.
Hmm, how does this differ from #214938?
At least on jaunty, sqlite3's debian/rules has: aliasing -DSQLITE_ ENABLE_ COLUMN_ METADATA -DSQLITE_ ENABLE_ FTS3 -DSQLITE_ ENABLE_ RTREE=1
DEB_OPT_FLAG := -O2 -fno-strict-
-DSQLITE_ ENABLE_ FTS3 should really be -DSQLITE_ ENABLE_ FTS3=1 and -DSQLITE_CORE=1 should be listed, too, but I think it'll still work with just -DSQLITE_ ENABLE_ FTS3 as it is currently. so, this bug may already be fixed, which would be awesome. Need to confirm that, though, and really should be using -DSQLITE_CORE=1 -DSQLITE_ ENABLE_ FTS3=1 for flags.