Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2020 22:46:36 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r549969 - head/databases/sqlite3
Message-ID:  <202009242246.08OMkaO0069578@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Thu Sep 24 22:46:36 2020
New Revision: 549969
URL: https://svnweb.freebsd.org/changeset/ports/549969

Log:
  databases/sqlite3: fix build on powerpc64le
  
  Specify that powerpc64le is little-endian, sqlite thinks all powerpc* are big-endian.

Modified:
  head/databases/sqlite3/Makefile

Modified: head/databases/sqlite3/Makefile
==============================================================================
--- head/databases/sqlite3/Makefile	Thu Sep 24 22:32:22 2020	(r549968)
+++ head/databases/sqlite3/Makefile	Thu Sep 24 22:46:36 2020	(r549969)
@@ -234,6 +234,7 @@ DQS_CPPFLAGS_OFF=	-DSQLITE_DQS=0
 
 # Platform Configuration
 CPPFLAGS+=	-DHAVE_ISNAN=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_USLEEP=1 -DHAVE_STRCHRNUL=1
+CFLAGS_powerpc64le=	-DSQLITE_BYTEORDER=1234
 
 post-configure:
 	@${ECHO_MSG} "===> CONFIGURE_ARGS=${CONFIGURE_ARGS}"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009242246.08OMkaO0069578>