pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/sqlite3



Module Name:    pkgsrc
Committed By:   thorpej
Date:           Thu Nov 19 14:46:27 UTC 2026

Modified Files:
        pkgsrc/databases/sqlite3: Makefile

Log Message:
Build sqlite3 with -mlong-jump-table-offsets on m68k platforms.


To generate a diff of this commit:
cvs rdiff -u -r1.174 -r1.175 pkgsrc/databases/sqlite3/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/sqlite3/Makefile
diff -u pkgsrc/databases/sqlite3/Makefile:1.174 pkgsrc/databases/sqlite3/Makefile:1.175
--- pkgsrc/databases/sqlite3/Makefile:1.174     Wed Nov 11 11:52:24 2026
+++ pkgsrc/databases/sqlite3/Makefile   Thu Nov 19 14:46:27 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.174 2026/11/11 11:52:24 wiz Exp $
+# $NetBSD: Makefile,v 1.175 2026/11/19 14:46:27 thorpej Exp $
 
 PKGREVISION= 1
 .include "Makefile.common"
@@ -59,6 +59,12 @@ TOOLS_SCRIPT.native-cc=      exec ${NATIVE_CC
 
 ### Build fixes
 
+# m68k platforms need the -mlong-jump-table-offsets compiler option,
+# otherwise the assembler complations about truncated relocations.
+.if ${MACHINE_PLATFORM:M*-*-m68*}
+CFLAGS+=                       -mlong-jump-table-offsets
+.endif
+
 # Darwin < 9 (Mac OS X < 10.5 "Leopard") doesn't have gethostuuid(2)
 # and lacks the zone memory allocator
 .if ${MACHINE_PLATFORM:MDarwin-[0-8].*-*}



Home | Main Index | Thread Index | Old Index