diff --git a/lib/libsqlite3/Makefile b/lib/libsqlite3/Makefile index 458e7d7ddfb1..8694876dbc10 100644 --- a/lib/libsqlite3/Makefile +++ b/lib/libsqlite3/Makefile @@ -35,4 +35,8 @@ CFLAGS+= -I${SQLITE} \ -D_REENTRANT=1 \ -DSQLITE_THREADSAFE=1 +.if ${MACHINE_ARCH} == "powerpc64le" +CFLAGS+= -DSQLITE_BYTEORDER=1234 +.endif + .include