diff options
author | Francois Perrad <fperrad@gmail.com> | 2012-12-06 21:38:07 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-12-16 01:09:16 +0100 |
commit | efddfcbe6dc531145fe3f4d7a39818e8e27d77b9 (patch) | |
tree | b7b6933d1f02af597578318efb0f8295ddfc270d | |
parent | 6cd4b20e4a7a04d8ebde872175cb6d6b583e9f42 (diff) | |
download | buildroot-novena-efddfcbe6dc531145fe3f4d7a39818e8e27d77b9.tar.gz buildroot-novena-efddfcbe6dc531145fe3f4d7a39818e8e27d77b9.zip |
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 <francois.perrad@gadz.org>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r-- | package/perl/perl.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/package/perl/perl.mk b/package/perl/perl.mk index a86ee2afd..da54ef1a1 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 |