Skip to content

Commit

Permalink
pdftk: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
classabbyamp committed Oct 14, 2023
1 parent 49c4e86 commit 71db8b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion srcpkgs/pdftk/template
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ checksum=118f6a25fd3acaafb58824dce6f97cdc07e56050e666b90e4c4ef426ea37b8c1
nocross=yes

do_build() {
_cxxflags="${CXXFLAGS//-fstack-clash-protection}"
_cxxflags="${_cxxflags//-ffile-prefix-map=\/builddir\/${pkgname}-${version}\/${build_wrksrc}=.}"
sed -e "s;@CXX@;g++-6;" \
-e "s;@AR@;$AR;" \
-e "s;@CXXFLAGS@;${CXXFLAGS//-fstack-clash-protection};" \
-e "s;@CXXFLAGS@;${_cxxflags};" \
-e "s;@LDFLAGS@;$LDFLAGS;" \
${FILESDIR}/Makefile > Makefile
make ${makejobs} || make ${makjobs}
Expand Down

0 comments on commit 71db8b1

Please sign in to comment.