[Bug 264192] lang/ghc: poudriere based build used odd mix of devel/llvm10 and system toolchain
Date: Sat, 27 Aug 2022 01:15:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264192 --- Comment #42 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to Mark Millard from comment #41) For work/ghc-8.10.7-boot/mk/config.mk.in : . . . #----------------------------------------------------------------------------- # C compiler # # NB. Don't override $(CC) using build.mk, re-configure using # the flag CC=<blah> instead. The reason is that the configure script # needs to know which gcc you're using in order to perform its tests. # TargetPlatformFull retains the string passed to configure so we have it in # the necessary format to pass to libffi's configure. TargetPlatformFull = @TargetPlatformFull@ # Do we have a C compiler using an LLVM back end? CcLlvmBackend = @CcLlvmBackend@ CC = @CC@ CC_STAGE0 = @CC_STAGE0@ CC_STAGE1 = $(CC) CC_STAGE2 = $(CC) CC_STAGE3 = $(CC) AS = @CC@ AS_STAGE0 = @CC_STAGE0@ AS_STAGE1 = $(AS) AS_STAGE2 = $(AS) AS_STAGE3 = $(AS) # why no LD=@LD@ ? LD_STAGE0 = @LD_STAGE0@ LD_STAGE1 = $(LD) LD_STAGE2 = $(LD) LD_STAGE3 = $(LD) . . . LD = @LdCmd@ NM = @NmCmd@ AR = @ArCmd@ OBJDUMP = @ObjdumpCmd@ CLANG = @ClangCmd@ LLC = @LlcCmd@ OPT = @OptCmd@ And for work/ghc-9.2.4/configure : Optional Packages: . . . --with-gcc=ARG Use ARG as the path to gcc (obsolete, use CC=ARG instead) [default=autodetect] --with-clang=ARG Use ARG as the path to clang (obsolete, use CC=ARG instead) [default=autodetect] . . . -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.