Date: Mon, 14 Aug 2023 22:35:02 +0000 From: bugzilla-noreply@freebsd.org To: haskell@FreeBSD.org Subject: [Bug 273091] lang/ghc 9.4.6 fails to build without the addition of iconv configure flags if gcc is found and used instead of default LLVM Message-ID: <bug-273091-16154-iHOH9EPJuA@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-273091-16154@https.bugs.freebsd.org/bugzilla/> References: <bug-273091-16154@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273091 --- Comment #21 from Kevin Reinholz <kreinholz@gmail.com> --- Adding the following lines to /usr/ports/lang/ghc/Makefile force it to sele= ct LLVM over GCC (when GCC is installed on the system), and avoid my reported error: CC=3Dclang CXX=3Dclang++ CPP=3Dclang-cpp I just sandwiched these additional options after line 32 between=20 SHEBANG_FILES=3D ${BOOT_SCRIPT} OPTIONS_DEFINE?=3D DYNAMIC GMP PROFILE DOCS I recognize this is still hacky, but it does prevent picking up gcc if it's installed, and allows ghc-9.4.6 to build successfully using base system LLV= M. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273091-16154-iHOH9EPJuA>