git: 664f4550a730 - main - cad/kicad: backport powerpc build fix from kicad-devel
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Mar 2023 19:05:08 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=664f4550a730ff5e738cca5c6c3c8deea7aa9d48 commit 664f4550a730ff5e738cca5c6c3c8deea7aa9d48 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-03-14 19:04:32 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-03-14 19:04:32 +0000 cad/kicad: backport powerpc build fix from kicad-devel LLVM ERROR: out of memory --- cad/kicad/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/cad/kicad/Makefile b/cad/kicad/Makefile index 2467b99097f8..461b38343a5d 100644 --- a/cad/kicad/Makefile +++ b/cad/kicad/Makefile @@ -35,6 +35,7 @@ USE_WX= 3.2 WX_COMPS= python:lib wx USE_GNOME= atk cairo gdkpixbuf2 gtk30 pango CXXFLAGS+= -std=c++11 -I${WRKSRC}/include -I${LOCALBASE}/include +CXXFLAGS_powerpc= -O0 # not using "bundled glew" breaks the 3d viewer CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG} \ -DwxWidgets_USE_UNICODE=ON \