mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
textproc/jade: remove non-functional deoptimization
Long ago, this code was added to disable -O2 optimizations and presumably remove -mcpu flags to avoid miscompilation. Somewhere along the line it stopped working and code is being compiled with -O2 by default and proably with -mcpu flags if set. The only place this seems to be used is when checking if the compiler works early in configure. Discovered on CheriBSD where removing -m* removed created an invalid command line with two -Xclang flags in a row. Reviewed by: cy Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D43072
This commit is contained in:
parent
a2aef21762
commit
ad4aca3c28
@ -45,9 +45,4 @@ post-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/xml/jade
|
||||
${INSTALL_DATA} ${WRKSRC}/pubtext/xml* ${STAGEDIR}${PREFIX}/share/xml/jade
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# Same problem with textproc/openjade.
|
||||
CPPFLAGS:= -O ${CFLAGS:N-O*:N-m*}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user