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: 3076 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) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 49M1PF5291z3xXM for ; Tue, 12 May 2020 15:07:13 +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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 49M1PD49Jxz3VC; 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 49M1PC53KMz2yHP; 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 Authentication-Results: mail01.ipfire.org; auth=pass smtp.mailfrom=stefan.schantl@ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: development@lists.ipfire.org Errors-To: development-bounces@lists.ipfire.org Sender: "Development" 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