added CFLAGS to PKGBUILD to fix linking errors
This commit is contained in:
		
							parent
							
								
									5aa25970ef
								
							
						
					
					
						commit
						31f64aef5f
					
				| 
						 | 
					@ -3,7 +3,7 @@
 | 
				
			||||||
pkgname=rustmon-git
 | 
					pkgname=rustmon-git
 | 
				
			||||||
pkgdesc="Pokemon Colorscripts written in Rust"
 | 
					pkgdesc="Pokemon Colorscripts written in Rust"
 | 
				
			||||||
_gitname=rustmon
 | 
					_gitname=rustmon
 | 
				
			||||||
pkgver=r41.bc2beb1
 | 
					pkgver=r46.5aa2597
 | 
				
			||||||
pkgrel=1
 | 
					pkgrel=1
 | 
				
			||||||
arch=('x86_64')
 | 
					arch=('x86_64')
 | 
				
			||||||
url="https://github.com/Vomitblood/$_gitname"
 | 
					url="https://github.com/Vomitblood/$_gitname"
 | 
				
			||||||
| 
						 | 
					@ -22,6 +22,7 @@ pkgver() {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
build() {
 | 
					build() {
 | 
				
			||||||
 | 
					  export CFLAGS="-fPIE"
 | 
				
			||||||
  cd "$srcdir/$_gitname"
 | 
					  cd "$srcdir/$_gitname"
 | 
				
			||||||
  # build main program
 | 
					  # build main program
 | 
				
			||||||
  cargo build --release --bin rustmon
 | 
					  cargo build --release --bin rustmon
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue