pdftk: fix build

This commit is contained in:
classabbyamp 2023-10-06 10:40:11 -04:00 committed by classabbyamp
parent b22249b8f0
commit 5148cbc6a1
1 changed files with 3 additions and 1 deletions

View File

@ -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}