aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-09-24 17:29:13 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-09-24 17:29:13 +0000
commitd46d9e64c9c731c4c7e4f2655804010b8d127c03 (patch)
treeee77bdb1189ef6c669f5bb7a2432448b129fb484 /ports-mgmt
parent186b86f715edb592fa6ceb51f8ae50fa804b83c6 (diff)
downloadports-d46d9e64c9c731c4c7e4f2655804010b8d127c03.tar.gz
ports-d46d9e64c9c731c4c7e4f2655804010b8d127c03.zip
ports-mgmt/pkg: fix build on powerpc64le
Little-endian powerpc64 is not detected properly by sqlite3.
Notes
Notes: svn path=/head/; revision=549932
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/pkg/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports-mgmt/pkg/Makefile b/ports-mgmt/pkg/Makefile
index a0a393c33c34..d9fa5e6e6f73 100644
--- a/ports-mgmt/pkg/Makefile
+++ b/ports-mgmt/pkg/Makefile
@@ -28,6 +28,7 @@ CONFIGURE_ENV= CC_FOR_BUILD="${CC}"
# so that pkg-static is used from the wrkdir
USE_SUBMAKE= yes
CFLAGS+= -Wno-error
+CFLAGS_powerpc64le= -DSQLITE_BYTEORDER=1234
OPTIONS_DEFINE= DOCS