From 31f64aef5f3d83400c124ea292538abdc4197c11 Mon Sep 17 00:00:00 2001 From: Vomitblood Date: Mon, 22 Apr 2024 20:08:30 +0800 Subject: [PATCH] added CFLAGS to PKGBUILD to fix linking errors --- build/arch/PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/arch/PKGBUILD b/build/arch/PKGBUILD index 96ac2f7..461295a 100644 --- a/build/arch/PKGBUILD +++ b/build/arch/PKGBUILD @@ -3,7 +3,7 @@ pkgname=rustmon-git pkgdesc="Pokemon Colorscripts written in Rust" _gitname=rustmon -pkgver=r41.bc2beb1 +pkgver=r46.5aa2597 pkgrel=1 arch=('x86_64') url="https://github.com/Vomitblood/$_gitname" @@ -22,6 +22,7 @@ pkgver() { } build() { + export CFLAGS="-fPIE" cd "$srcdir/$_gitname" # build main program cargo build --release --bin rustmon