void-packages/srcpkgs/hamlib/patches/fix-cross-perl.patch
2018-11-26 13:01:47 -02:00

12 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"