Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion srcpkgs/pcc/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'pcc'
pkgname=pcc
version=1.1.0.20190420
revision=3
revision=4
_distver="${version%.*}"
_snapshot="${version##*.}"
archs="i686* x86_64*"
Expand All @@ -21,6 +21,10 @@ checksum="a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
nocross=yes

CFLAGS="-fcommon"
case "$XBPS_TARGET_MACHINE" in
*-musl) depends+=" musl-devel";;
*) depends+=" glibc-devel";;
esac

post_extract() {
mv pcc-${_distver}.BETA pcc
Expand Down