pdftk: fix build
This commit is contained in:
parent
b22249b8f0
commit
5148cbc6a1
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue