From: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCHv3 for-next 4/6] perl: fix configure step
Date: Wed, 28 Nov 2012 17:09:20 +0100 [thread overview]
Message-ID: <1354118962-18601-4-git-send-email-arnout@mind.be> (raw)
In-Reply-To: <1354118962-18601-1-git-send-email-arnout@mind.be>
From: Francois Perrad <fperrad@gmail.com>
Configure -A symbol=val generates a extra space in config.sh,
which causes failure like this :
Building Module-Runtime-0.013
Unknown OS type ' linux' - using default settings
[Arnout: use -A define:foo instead of patching config.sh]
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
package/perl/perl.mk | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/package/perl/perl.mk b/package/perl/perl.mk
index 0893eb5..391047d 100644
--- a/package/perl/perl.mk
+++ b/package/perl/perl.mk
@@ -55,14 +55,14 @@ PERL_CONF_OPT = \
--target-tools-prefix=$(TARGET_CROSS) \
--prefix=/usr \
-Dld="$(TARGET_CC_NOCCACHE)" \
- -A ccflags="$(TARGET_CFLAGS)" \
- -A ldflags="$(TARGET_LDFLAGS) -lm" \
- -A mydomain="" \
- -A myhostname="$(BR2_TARGET_GENERIC_HOSTNAME)" \
- -A myuname="Buildroot $(BR2_VERSION_FULL)" \
- -A osname=linux \
- -A osvers=$(LINUX_VERSION) \
- -A perladmin=root
+ -Dccflags="$(TARGET_CFLAGS)" \
+ -Dldflags="$(TARGET_LDFLAGS) -lm" \
+ -A define:mydomain="" \
+ -A define:myhostname="$(BR2_TARGET_GENERIC_HOSTNAME)" \
+ -A define:myuname="Buildroot $(BR2_VERSION_FULL)" \
+ -A define:osname=linux \
+ -A define:osvers=$(LINUX_VERSION) \
+ -A define:perladmin=root
ifeq ($(shell expr $(PERL_VERSION_MAJOR) % 2), 1)
PERL_CONF_OPT += -Dusedevel
--
1.7.10.4
next prev parent reply other threads:[~2012-11-28 16:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-28 16:09 [Buildroot] [PATCHv3 for-next 1/6] perl: remove redundant patches Arnout Vandecappelle
2012-11-28 16:09 ` [Buildroot] [PATCHv3 for-next 2/6] perl: substitute perlcross pod with perl-version-specific pod Arnout Vandecappelle
2012-11-28 16:09 ` [Buildroot] [PATCHv3 for-next 3/6] perl: remove the double configure hack Arnout Vandecappelle
2012-11-28 16:09 ` Arnout Vandecappelle [this message]
2012-11-28 16:09 ` [Buildroot] [PATCHv3 for-next 5/6] cpanminus: requires host-qemu Arnout Vandecappelle
2012-11-28 16:09 ` [Buildroot] [PATCHv3 for-next 6/6] cpanminus: fix installation paths Arnout Vandecappelle
2012-11-30 20:18 ` [Buildroot] [PATCHv3 for-next 1/6] perl: remove redundant patches Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1354118962-18601-4-git-send-email-arnout@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox