mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
cross-build: fix after the recent sqlite3 import
Stop adding contrib/sqlite3 into the include path for usr.bin/kyua, take headers from the install sysroot env. sqilte3 now has the VERSION file, which clashes with c++ include <version>. Submitted by: jrtc27 (see https://reviews.freebsd.org/D51217) Tested by: kib Fixes: 17f0f75308f2 ("sqlite3: Vendor import of sqlite3 3.50.2") (cherry picked from commit 09d28419c646650a77721e168ef43bc1bac96b67)
This commit is contained in:
parent
424e564a24
commit
45516d9dae
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ MAN= kyua-about.1 \
|
|||
|
||||
CFLAGS+= -I${KYUA_SRCDIR} -I${.CURDIR}
|
||||
CFLAGS+= -I${SRCTOP}/contrib/lutok/include
|
||||
CFLAGS+= -I${SRCTOP}/contrib/sqlite3
|
||||
CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/private/sqlite3
|
||||
# kyua uses auto_ptr
|
||||
CFLAGS+= -Wno-deprecated-declarations
|
||||
CXXSTD= c++11
|
||||
|
|
|
|||
Loading…
Reference in a new issue