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
This commit is contained in:
ru 2001-11-27 16:28:26 +00:00
parent 63b6483616
commit a2f0a76ebc

View File

@ -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