void-packages/srcpkgs/hamlib/patches/fix-cross-perl.patch

13 lines
330 B
Diff

--- bindings/Makefile.am.orig
+++ bindings/Makefile.am
@@ -47,6 +47,9 @@
PREFIX="$(prefix)" \
INC="$(AM_CPPFLAGS)" \
CC="$(CC)" \
+ LD="$(CC)" \
+ CCFLAGS="${CFLAGS}" \
+ OPTIMIZE="${CFLAGS}" \
OBJECT="hamlibperl_wrap.o" \
VERSION="$(PACKAGE_VERSION)" \
LIBS="-L$(top_builddir)/src/.libs -lhamlib"