mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
pdftk: fix build
This commit is contained in:
parent
b22249b8f0
commit
5148cbc6a1
1 changed files with 3 additions and 1 deletions
|
@ -14,9 +14,11 @@ checksum=118f6a25fd3acaafb58824dce6f97cdc07e56050e666b90e4c4ef426ea37b8c1
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
_cxxflags="${CXXFLAGS//-fstack-clash-protection}"
|
||||||
|
_cxxflags="${_cxxflags//-ffile-prefix-map=\/builddir\/${pkgname}-${version}\/${build_wrksrc}=.}"
|
||||||
sed -e "s;@CXX@;g++-6;" \
|
sed -e "s;@CXX@;g++-6;" \
|
||||||
-e "s;@AR@;$AR;" \
|
-e "s;@AR@;$AR;" \
|
||||||
-e "s;@CXXFLAGS@;${CXXFLAGS//-fstack-clash-protection};" \
|
-e "s;@CXXFLAGS@;${_cxxflags};" \
|
||||||
-e "s;@LDFLAGS@;$LDFLAGS;" \
|
-e "s;@LDFLAGS@;$LDFLAGS;" \
|
||||||
${FILESDIR}/Makefile > Makefile
|
${FILESDIR}/Makefile > Makefile
|
||||||
make ${makejobs} || make ${makjobs}
|
make ${makejobs} || make ${makjobs}
|
||||||
|
|
Loading…
Add table
Reference in a new issue