mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-12 09:58:36 +00:00
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:
parent
6a13dede6c
commit
ad48dba20f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86983
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user