mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Unbreak this port on powerpc64/12 after r561520 updated GCC_DEFAULT
from 9 to 10. Although this port was tested with GCC 10 on amd64, it was _not_ on powerpc64, and it seems that GCC10/powerpc64 regresses in several cases vs. GCC9/powerpc64. Approved by: portmgr (tier-2 blanket)
This commit is contained in:
parent
1a4927beae
commit
5df97b8b23
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=563896
@ -65,6 +65,15 @@ PLIST_FILES+= lib/frei0r-1/${FILE}.so
|
||||
. endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${CHOSEN_COMPILER_TYPE} == gcc
|
||||
# work around regression seen in GCC 10 but not in GCC 9:
|
||||
# src/filter/elastic_scale/elastic_scale.cpp:152: error: ISO C++ forbids initialization of member 'm_transformationCalculations'
|
||||
CFLAGS+= -Wno-error
|
||||
CXXFLAGS+= -Wno-error
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
.endif # !defined(BUILDING_FREI0R_METAPORT)
|
||||
|
Loading…
Reference in New Issue
Block a user