summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/math/Makefile.in2
-rwxr-xr-xtest/math/gen-libm-test.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/math/Makefile.in b/test/math/Makefile.in
index 9fbd58ab8..387400151 100644
--- a/test/math/Makefile.in
+++ b/test/math/Makefile.in
@@ -28,7 +28,7 @@ endif
EXTRA_CFLAGS := -fno-builtin
EXTRA_LDFLAGS := -lm
-PERL := /usr/bin/perl
+PERL := perl
MDEPS := $(wildcard test-*.c)
$(MDEPS): libm-test.c
diff --git a/test/math/gen-libm-test.pl b/test/math/gen-libm-test.pl
index 0bb2b46a0..118f352fa 100755
--- a/test/math/gen-libm-test.pl
+++ b/test/math/gen-libm-test.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
# Copyright (C) 1999 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# Contributed by Andreas Jaeger <aj@suse.de>, 1999.