mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
databases/sqlitestudio: Disable PLUGIN_DB_SQLITE_WX on non-Intel architectures
This plugin uses SSE SIMD unconditionally. Reported by: fallout
This commit is contained in:
parent
79715260b7
commit
89f3224efd
@ -48,6 +48,12 @@ PLUGIN_SCRIPTING_PYTHON_BROKEN= https://github.com/pawelsalawa/sqlitestudio/is
|
||||
PLUGIN_SCRIPTING_TCL_USES= tcl:87
|
||||
PLUGIN_SCRIPTING_TCL_CXXFLAGS= -I${TCL_INCLUDEDIR}
|
||||
|
||||
# workaround for https://github.com/pawelsalawa/sqlitestudio/issues/4999
|
||||
ARCH!= uname -p
|
||||
.if ${ARCH} != "amd64" && ${ARCH} != "i386"
|
||||
PLUGIN_DB_SQLITE_WX_BROKEN= Impossible to build on ${ARCH}: it uses SSE SIMD
|
||||
.endif
|
||||
|
||||
.for opt in ${OPTIONS_GROUP_PLUGINS}
|
||||
. if "${${opt}_BROKEN}" == ""
|
||||
OPTIONS_DEFAULT+= ${opt}
|
||||
|
@ -1,13 +0,0 @@
|
||||
- workaround for https://github.com/pawelsalawa/sqlitestudio/issues/4999
|
||||
|
||||
--- ../Plugins/DbSqliteWx/DbSqliteWx.pro.orig 2024-06-12 16:33:52 UTC
|
||||
+++ ../Plugins/DbSqliteWx/DbSqliteWx.pro
|
||||
@@ -66,7 +66,7 @@ DEFINES += SQLITE_HAS_CODEC SQLITE_ALLOW_XTHREAD_CONNE
|
||||
SQLITE_ENABLE_RTREE=1 \
|
||||
SQLITE_ENABLE_MATH_FUNCTIONS=1
|
||||
|
||||
-QMAKE_CFLAGS += -msse4.1 -msse4.2 -maes
|
||||
+#QMAKE_CFLAGS += -msse4.1 -msse4.2 -maes
|
||||
QMAKE_CFLAGS_WARN_ON = -Wall -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-but-set-variable \
|
||||
-Wno-parentheses -Wno-unused-variable -Wno-unknown-pragmas
|
||||
|
Loading…
Reference in New Issue
Block a user