File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,11 @@ elif [ "${TARGET_TRIPLE}" = "x86_64-apple-ios" ]; then
2222 CONFIGURE_FLAGS=" ${CONFIGURE_FLAGS} ac_cv_search_system=no"
2323fi
2424
25+ # The SQLite autosetup looks for the C++ compiler if the variable is set and will fail if it's not
26+ # found, even if it's not needed. We don't actually have a C++ compiler in some builds, so ensure
27+ # it's not looked for.
28+ unset CXX
29+
2530CC_FOR_BUILD=" ${HOST_CC} " CFLAGS=" ${EXTRA_TARGET_CFLAGS} -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS3_TOKENIZER -fPIC" CPPFLAGS=" ${EXTRA_TARGET_CFLAGS} -fPIC" LDFLAGS=" ${EXTRA_TARGET_LDFLAGS} " ./configure ${CONFIGURE_FLAGS}
2631
2732make -j ${NUM_CPUS} libsqlite3.a
You can’t perform that action at this time.
0 commit comments