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

13 lines
330 B
Diff
Raw Normal View History

2018-07-31 09:35:15 +02:00
--- 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"