diff options
author | Xenhat Hex | 2022-10-12 20:11:20 -0400 |
---|---|---|
committer | Xenhat Hex | 2022-10-12 20:11:20 -0400 |
commit | 628ec8042ebb088cb3763b8eb2aa32f5293fdd3e (patch) | |
tree | 57c12c6ee1aced6a32015f9ac0c9ee643d48b7d8 | |
parent | 88dff549b3bf151b89bc58707afbfc5b8564ecf7 (diff) | |
download | aur-628ec8042ebb088cb3763b8eb2aa32f5293fdd3e.tar.gz |
add build flags for architecture and supressing some warnings
-rw-r--r-- | .SRCINFO | 2 | ||||
-rwxr-xr-x | PKGBUILD | 2 | ||||
-rwxr-xr-x | compile.bash | 1 |
3 files changed, 3 insertions, 2 deletions
@@ -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 @@ -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)" |