From a2f0a76ebcd5b63f172b9f17a662de0c4d59ff22 Mon Sep 17 00:00:00 2001 From: ru Date: Tue, 27 Nov 2001 16:28:26 +0000 Subject: CFLAGS is not suitable for `optimize' thing; it spams Config.pm with -nostdinc which breaks Perl ports building. This change will be re-applied if BDE agrees on having COPTFLAGS in userland. PR: bin/31877 --- gnu/usr.bin/perl/Makefile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/usr.bin/perl/Makefile.inc b/gnu/usr.bin/perl/Makefile.inc index b5b8d21..2a45614 100644 --- a/gnu/usr.bin/perl/Makefile.inc +++ b/gnu/usr.bin/perl/Makefile.inc @@ -60,8 +60,8 @@ links: ${DEPEND_H} @ln -sf ${PERL5SRC}/writemain.SH writemain.sh @ln -sf ${PERL5SRC}/regcomp.c regcomp.c @ln -sf ${PERL5SRC}/regexec.c regexec.c - @sed "s;^optimize=.*$$;optimize=\'${CFLAGS}\';" \ - ${PERL5LIBSRC}/config.SH-${OBJFORMAT}.${MACHINE_ARCH} > config.sh + @ln -sf ${PERL5LIBSRC}/config.SH-${OBJFORMAT}.${MACHINE_ARCH} \ + config.sh @touch ${.TARGET} scripts: links -- cgit v1.1