summaryrefslogtreecommitdiffhomepage
path: root/vars/build.vars
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-05-09 21:31:29 -0400
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-05-10 06:58:17 +0000
commit2c2c5b1f48bd1a3ffff20e5b1d476f3b50f3dc85 (patch)
tree6d5855993de33d87306b4e11e33a452a1a002ec3 /vars/build.vars
parentefc22a2160a99b53bdb7c58cc827e37ce6a0bfff (diff)
downloadmidipix_build-2c2c5b1f48bd1a3ffff20e5b1d476f3b50f3dc85.tar.bz2
midipix_build-2c2c5b1f48bd1a3ffff20e5b1d476f3b50f3dc85.tar.xz
ghostscript: work around ghostscript's incomplete support of cross-compilation.
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'vars/build.vars')
-rw-r--r--vars/build.vars6
1 files changed, 3 insertions, 3 deletions
diff --git a/vars/build.vars b/vars/build.vars
index 800b00ed..e7f9538d 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -1304,9 +1304,9 @@ tmux tzdb vim xcowsay xeyes xorriso xterm xwd";
: ${PKG_GHOSTSCRIPT_SHA256SUM:=831fc019bd477f7cc2d481dc5395ebfa4a593a95eb2fe1eb231a97e450d7540d};
: ${PKG_GHOSTSCRIPT_VERSION:=9.26};
: ${PKG_GHOSTSCRIPT_URL:=https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs926/ghostscript-${PKG_GHOSTSCRIPT_VERSION}.tar.gz};
-: ${PKG_GHOSTSCRIPT_CONFIGURE_ARGS_EXTRA:="CCAUX=gcc --without-x --disable-compile-inits --enable-dynamic --with-system-libtiff --with-memory-alignment=8"};
-: ${PKG_GHOSTSCRIPT_MAKEFLAGS_BUILD:=-j1};
-: ${PKG_GHOSTSCRIPT_IN_TREE:=1};
+: ${PKG_GHOSTSCRIPT_CONFIGURE_ARGS_EXTRA:="--without-x --disable-compile-inits --enable-dynamic --with-system-libtiff --with-memory-alignment=8"};
+: ${PKG_GHOSTSCRIPT_MAKEFLAGS_BUILD_EXTRA:="CCAUX_=cc:TARGET_ARCH_FILE=${BUILD_WORKDIR}/ghostscript-native-${DEFAULT_TARGET}/ghostscript-${PKG_GHOSTSCRIPT_VERSION}/arch/${DEFAULT_TARGET}.h"}
+: ${PKG_GHOSTSCRIPT_ENV_VARS_EXTRA:="CCAUX=cc:SHARE_ZLIB=-lz"}
: ${PKG_HASTYHEX_URLS_GIT:="hastyhex=https://github.com/skeeto/hastyhex.git@master"};
: ${PKG_HASTYHEX_IN_TREE:=1};
: ${PKG_HASTYHEX_CFLAGS_BUILD_EXTRA:="-g3 -O0 -ansi -pedantic -funroll-loops"};