summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXenhat Hex2022-10-12 20:11:20 -0400
committerXenhat Hex2022-10-12 20:11:20 -0400
commit628ec8042ebb088cb3763b8eb2aa32f5293fdd3e (patch)
tree57c12c6ee1aced6a32015f9ac0c9ee643d48b7d8
parent88dff549b3bf151b89bc58707afbfc5b8564ecf7 (diff)
downloadaur-628ec8042ebb088cb3763b8eb2aa32f5293fdd3e.tar.gz
add build flags for architecture and supressing some warnings
-rw-r--r--.SRCINFO2
-rwxr-xr-xPKGBUILD2
-rwxr-xr-xcompile.bash1
3 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2366b8758987..5489e1a0e7d9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -48,6 +48,6 @@ pkgbase = alchemy-next-viewer-git
source = alchemy-next-viewer-git::git+https://git.alchemyviewer.org/alchemy/alchemy-next.git#branch=main
source = compile.bash
sha256sums = SKIP
- sha256sums = a719bacc46c028172cd1944b2fc82bf51d4e0d20da24e107b0a994a7ab66436f
+ sha256sums = 170b8b8a7c2b4d367c700909dd06d720c2cdbb4b053a8a3419beadd2d515d9de
pkgname = alchemy-next-viewer-git
diff --git a/PKGBUILD b/PKGBUILD
index 00e419043086..a04ca28c1e4f 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,7 +30,7 @@ install=alchemy.install
source=("${pkgname}"::'git+https://git.alchemyviewer.org/alchemy/alchemy-next.git#branch=main'
'compile.bash')
sha256sums=('SKIP'
- 'a719bacc46c028172cd1944b2fc82bf51d4e0d20da24e107b0a994a7ab66436f')
+ '170b8b8a7c2b4d367c700909dd06d720c2cdbb4b053a8a3419beadd2d515d9de')
pkgver() {
cd "${pkgname}" || exit 1
diff --git a/compile.bash b/compile.bash
index ec9e5b53c306..2d3441463347 100755
--- a/compile.bash
+++ b/compile.bash
@@ -44,6 +44,7 @@ autobuild configure -A 64 -c ReleaseOS -- \
-DLL_TESTS:BOOL=OFF \
-DDISABLE_FATAL_WARNINGS=ON \
-DUSE_LTO:BOOL=OFF \
+ -DALCHEMY_GLOBAL_CFLAGS="-march=x86-64-v2 -mtune=generic -Wno-deprecated -Wno-uninitialized" \
-DVIEWER_CHANNEL="Alchemy Test"
echo "Building with ${AUTOBUILD_CPU_COUNT} jobs (adjusted)"