Browse Source

Update 'PKGBUILD'

Nathaniel van Diepen 2 years ago
parent
commit
f0df33fe7a
1 changed files with 3 additions and 2 deletions
  1. 3 2
      PKGBUILD

+ 3 - 2
PKGBUILD

@@ -30,13 +30,14 @@ build(){
 	cd "$srcdir/llvm-project-build";
 	cmake "$srcdir/llvm-project/llvm" -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS=clang -DLLVM_TARGETS_TO_BUILD= -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=Z80
 	cmake --build . --target clang
+	PATH="$PATH:$srcdir/llvm-project-build/bin"
 	cd "$srcdir/toolchain";
-	make
+	make;
 }
 package() {
 	cd "$srcdir/toolchain";
 	install -Dm644 license "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 	mkdir -p "$pkgdir/opt/bin";
 	make install PREFIX="$pkgdir/opt";
-	cp "$srcdir/llvm-project-build/bin/clang" "$pkgdir/opt/bin"
+	cp "$srcdir/llvm-project-build/bin/clang" "$pkgdir/opt/bin";
 }