git: d1a41c87e06b - main - cad/kicad-devel: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Dec 2022 00:58:17 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=d1a41c87e06b6c4de75eb907d0908f7f1c338ab5 commit d1a41c87e06b6c4de75eb907d0908f7f1c338ab5 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-12-21 00:58:00 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-12-21 00:58:00 +0000 cad/kicad-devel: fix build on powerpc Build with -O0 to prevent clang using over 4GB RAM and crashing. --- cad/kicad-devel/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/cad/kicad-devel/Makefile b/cad/kicad-devel/Makefile index b9b18618686d..a4cfbc9b36dc 100644 --- a/cad/kicad-devel/Makefile +++ b/cad/kicad-devel/Makefile @@ -51,6 +51,7 @@ EXTRAS2RM= linux-non_unicode linux wings3d LINUX.README \ contrib_makefiles.txt running_kicad_under_W98.txt SHEBANG_FILES= pcbnew/python/plugins/touch_slider_wizard.py CXXFLAGS+= -I${WRKSRC} -I${WRKSRC}/include -I${LOCALBASE}/include +CXXFLAGS_powerpc= -O0 CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" \ -DCMAKE_BUILD_TYPE="Debug" \ -DKICAD_TESTING_VERSION=ON \