summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarol Schulze2023-09-05 15:17:07 -0300
committerCarol Schulze2023-09-05 15:17:07 -0300
commitc5c6a5b88577b95077341836ae2bac4efe36bb6f (patch)
treefe829a7b8a66856c7aabb7af7944611fe46f7c0d
parent064e4bc13a42df16cc894ba627ed1e1a65499f76 (diff)
downloadaur-zpaq.tar.gz
Fix LTO builds
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD8
2 files changed, 3 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 90f724eea66e..3cb2ca35a6f4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Fri Aug 19 18:47:26 UTC 2016
pkgbase = zpaq
pkgdesc = Programmable file compressor, library and utilities. Based on the PAQ compression algorithm
pkgver = 7.15
- pkgrel = 1
+ pkgrel = 2
url = http://mattmahoney.net/dc/zpaq.html
arch = i686
arch = x86_64
@@ -14,4 +12,3 @@ pkgbase = zpaq
sha512sums = 4cddcc04dff5e9dceb7138cf9e82b718b696048368ff494339f877d93e4423ed7959c0cfb2e30ba7dcbcdd6bbd59fa1021ceaca6d51e3180d8034b7a3997c265
pkgname = zpaq
-
diff --git a/PKGBUILD b/PKGBUILD
index 3606fa92b7fe..95ec6b275f3f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=zpaq
pkgdesc='Programmable file compressor, library and utilities. Based on the PAQ compression algorithm'
url='http://mattmahoney.net/dc/zpaq.html'
pkgver=7.15
-pkgrel=1
+pkgrel=2
_zpaq_ver=715
@@ -22,10 +22,6 @@ build()
{
cd "$srcdir"
- if [ -z "$CC" ]
- then
- CC=gcc
- fi
if [ -z "$CXX" ]
then
CXX=g++
@@ -35,7 +31,7 @@ build()
$CXX $CXXFLAGS $LDFLAGS -fPIC -shared -Dunix -DNDEBUG libzpaq.cpp -o libzpaq.so
msg 'Building zpaq'
- $CXX ${CXXFLAGS/-flto} ${LDFLAGS/-flto} -pthread -Dunix -DNDEBUG zpaq.cpp -L. -lzpaq -o zpaq
+ $CXX $CXXFLAGS $LDFLAGS -pthread -Dunix -DNDEBUG zpaq.cpp -L. -lzpaq -o zpaq
msg 'Building man page'
pod2man zpaq.pod zpaq.1