office/pdfchain: Fix build on 15.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
parent
1b9116cd1d
commit
6ba1ab2a61
|
@ -79,6 +79,18 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# pdftk is a dependency, and needs the gcc package to build. If we installed
|
||||
# that and sourced gcc5.sh, pdfchain won't build. We check for that here and
|
||||
# unset the vars.
|
||||
if [ "$CC" = "gcc-5" ] ; then
|
||||
unset CC
|
||||
unset CPP
|
||||
unset CXX
|
||||
unset AR
|
||||
unset NM
|
||||
unset RANLIB
|
||||
fi
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS -std=c++11" \
|
||||
./configure \
|
||||
|
|
Loading…
Reference in New Issue