mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
Remove -Weverything unconditionally. This will affect tier-1 users who
prefer gcc. Also turn off -Werror for gcc for tier-2 archs. Reported by: jbeich Reviewed by: mat
This commit is contained in:
parent
86cf92bd64
commit
9bb806ddd2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=486061
@ -11,15 +11,16 @@ COMMENT= Library to interface with PRUs
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
IGNORE_DragonFly= only supported on FreeBSD
|
||||
USES= cmake
|
||||
USES= cmake compiler
|
||||
|
||||
WRKSRC= ${WRKDIR}/rpaulo-libpru-5a74157b82b8
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
|
||||
${REINPLACE_CMD} -e 's/ -Weverything//' ${WRKSRC}/CMakeLists.txt
|
||||
.if ${CHOSEN_COMPILER_TYPE} == gcc
|
||||
${REINPLACE_CMD} -e 's/ -Werror//' ${WRKSRC}/CMakeLists.txt
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user