ghostscript: fix cross build.
This commit is contained in:
parent
f4f513bdcf
commit
23f641ab21
|
@ -44,7 +44,10 @@ do_configure() {
|
||||||
do_build() {
|
do_build() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# Build host utils.
|
# Build host utils.
|
||||||
make CC=cc CCLD=cc CFLAGS=-Os base/genarch base/genconf base/echogs
|
cp -f Makefile Makefile.orig
|
||||||
|
sed "/GCFLAGS/s,${CFLAGS},,g" -i Makefile
|
||||||
|
make CC=cc CCLD=cc base/genarch base/genconf base/echogs
|
||||||
|
mv -f Makefile.orig Makefile
|
||||||
mkdir -p obj/aux soobj/aux
|
mkdir -p obj/aux soobj/aux
|
||||||
cp base/{echogs,genarch,genconf} obj/aux
|
cp base/{echogs,genarch,genconf} obj/aux
|
||||||
cp base/{echogs,genarch,genconf} soobj/aux
|
cp base/{echogs,genarch,genconf} soobj/aux
|
||||||
|
|
Loading…
Reference in New Issue