From patchwork Tue May 12 15:07:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 3075 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 49M1PD48L1z3xWQ for ; Tue, 12 May 2020 15:07:12 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 49M1PD1xDrzS5; Tue, 12 May 2020 15:07:12 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 49M1PC6gmXz2yRZ; Tue, 12 May 2020 15:07:11 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 49M1P95x9Wz2xjw; Tue, 12 May 2020 15:07:09 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 49M1P83v74zS5; Tue, 12 May 2020 15:07:08 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1589296029; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=iBBRxx5bsh7JznqOiLsT6o4mrfaTJRHg62dwAHELYWo=; b=5OCmVL402QKSr0lpjmIzMqvrrvplUdJE6bL9tLzRBjlBoOo6PvG0gRXrMinGFCp6NKZFM5 Kxk4AsSoWGMrhBBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1589296029; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=iBBRxx5bsh7JznqOiLsT6o4mrfaTJRHg62dwAHELYWo=; b=aXDOgpAVZK/CYNtFz5f6XYPQcnWyrGaCyJ1BOL1eNM3HdqgJmYev8o+AHi3p9YYYlYmmpW eNKly6go+tIU/bYAreWBkTcpy9EQKYkVC831wDzD5vDXStFsfM0x3t2oDWCNprvUNFBvBx EGiHGFlJCi5TSCNMZ2v5WSH/+YLHMvY96R6lN2FIDFXmhlJObrCi1ch49FMr2hgiDwyiJe oX1R74Ec6bujbyOBGhhUExhhqtaHCtthZw1pxQ6ZAR6urYpxx9Rz50PaRLjLeg7uwhXZdm oilPc3oJ7WSNcSbjh/SOD2IE0VzDqUZh8KUAfrwLDmyn7QAk1y9rQxExJcAfTw== From: Stefan Schantl To: location@lists.ipfire.org Subject: [PATCH] Makefile.am: Specify CC and LD when compiling perl module. Date: Tue, 12 May 2020 17:07:04 +0200 Message-Id: <20200512150704.396224-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 X-BeenThere: location@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: development@lists.ipfire.org Errors-To: location-bounces@lists.ipfire.org Sender: "Location" Authentication-Results: mail01.ipfire.org; none X-Rspamd-Queue-Id: 49M1PD1xDrzS5 X-Spamd-Result: default: False [0.69 / 11.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FORGED_SENDER_MAILLIST(0.00)[]; FROM_HAS_DN(0.00)[]; R_MISSING_CHARSET(2.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; BROKEN_CONTENT_TYPE(1.50)[]; HAS_LIST_UNSUB(-0.01)[]; RCVD_COUNT_THREE(0.00)[4]; RCPT_COUNT_TWO(0.00)[2]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM(-1.00)[-1.003]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FROM_NEQ_ENVFROM(0.00)[stefan.schantl@ipfire.org,location-bounces@lists.ipfire.org]; BAYES_HAM(-3.00)[99.99%] X-Rspamd-Server: mail01.haj.ipfire.org This fixes the issues when cross compiling libloc and the perl binding. Signed-off-by: Stefan Schantl --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index ee1c36f..6c01e76 100644 --- a/Makefile.am +++ b/Makefile.am @@ -205,7 +205,7 @@ build-perl: cd $(builddir)/src/perl && $(PERL) Makefile.PL PREFIX="$(prefix)" \ INC="-I$(abs_srcdir)/src" LIBS="-L$(abs_builddir)/src/.libs -lloc" - cd $(builddir)/src/perl && $(MAKE) LD_RUN_PATH= + cd $(builddir)/src/perl && $(MAKE) CC="$(CC)" LD="$(LD)" LD_RUN_PATH= .PHONY: check-perl check-perl: testdata.db