summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2016-06-22 21:07:32 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-05 15:45:04 +0200
commitaf9bb14f3cc0ec70241b74eec4e317778fdd5307 (patch)
tree9db566a8fbe296cfc87f1eb2a5d5a881ae337dc4
parentd323379ca7fde14a04d4ab0b3e620196290ddae2 (diff)
downloadbuildroot-af9bb14f3cc0ec70241b74eec4e317778fdd5307.tar.gz
buildroot-af9bb14f3cc0ec70241b74eec4e317778fdd5307.zip
package/perl: use dummy hostname
The hostname does not look like it serves any useful purpose, except maybe to set set perladmin email. Which is undoubtfully useless on the target. A followup commit will make the hostname depend on the default skeleton, so it won't always be available. We can not rely on it to be set. Besides, even today it is not guaranteed to be set; a user may well leave it empty. Use a dummy hostname. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/perl/perl.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/perl/perl.mk b/package/perl/perl.mk
index f96b638246..38f30ab60e 100644
--- a/package/perl/perl.mk
+++ b/package/perl/perl.mk
@@ -55,7 +55,7 @@ PERL_CONF_OPTS = \
-Dccflags="$(TARGET_CFLAGS)" \
-Dldflags="$(TARGET_LDFLAGS) -lm" \
-Dmydomain="" \
- -Dmyhostname="$(BR2_TARGET_GENERIC_HOSTNAME)" \
+ -Dmyhostname="noname" \
-Dmyuname="Buildroot $(BR2_VERSION_FULL)" \
-Dosname=linux \
-Dosvers=$(LINUX_VERSION) \
OpenPOWER on IntegriCloud