From 9eacebcbf99d5ab7435fb214a587418ee43c84b1 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Thu, 9 Aug 2018 13:23:05 +0200 Subject: [PATCH] gtkwave: fix crossbuild --- srcpkgs/gtkwave/template | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/srcpkgs/gtkwave/template b/srcpkgs/gtkwave/template index b27c6eaa89e..e250f104fe7 100644 --- a/srcpkgs/gtkwave/template +++ b/srcpkgs/gtkwave/template @@ -13,6 +13,13 @@ homepage="http://gtkwave.sourceforge.net/" distfiles="http://gtkwave.sourceforge.net/gtkwave-${version}.tar.gz" checksum=53f5ba3f6c4e231c2cc712411f6bf22bb22569af2801ace97eedd05df6332121 +pre_build() { + if [ "$CROSS_BUILD" ]; then + make -C contrib/pccts/antlr CC=cc LD=ld CFLAGS= LDFLAGS= + make -C contrib/pccts/dlg CC=cc LD=ld CFLAGS= LDFLAGS= + fi +} + post_install() { vlicense LICENSE.TXT }