From: Francois Perrad Date: Thu, 6 Dec 2012 21:38:07 +0000 (+0000) Subject: perl: refactor configure step X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=efddfcbe6dc531145fe3f4d7a39818e8e27d77b9;p=buildroot.git perl: refactor configure step After discussion with Perl-Cross's author (Alex Suykov) Note: Using -A with variables that aren't option lists makes little sense. Signed-off-by: Francois Perrad Acked-by: Arnout Vandecappelle (Essensium/Mind) Tested-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Peter Korsgaard --- diff --git a/package/perl/perl.mk b/package/perl/perl.mk index a86ee2afd4..da54ef1a18 100644 --- a/package/perl/perl.mk +++ b/package/perl/perl.mk @@ -57,12 +57,12 @@ PERL_CONF_OPT = \ -Dld="$(TARGET_CC_NOCCACHE)" \ -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 + -Dmydomain="" \ + -Dmyhostname="$(BR2_TARGET_GENERIC_HOSTNAME)" \ + -Dmyuname="Buildroot $(BR2_VERSION_FULL)" \ + -Dosname=linux \ + -Dosvers=$(LINUX_VERSION) \ + -Dperladmin=root ifeq ($(shell expr $(PERL_VERSION_MAJOR) % 2), 1) PERL_CONF_OPT += -Dusedevel