pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: pkgsrc/lang/llvm
On Mon, 12 Sep 2022 at 08:59:15 +0000, Havard Eidnes wrote:
Module Name: pkgsrc
Committed By: he
Date: Mon Sep 12 08:59:15 UTC 2022
Modified Files:
pkgsrc/lang/llvm: Makefile
Log Message:
lang/llvm: fix the logic in the powerpc section...
...so that we don't insist on -mno-pltseq on older NetBSD.
Sorry about that! Your intent was obvious but I misread it, which is
clear I shouldn't be tinkering with anything late at night.
I did wonder if another way of handling this would be to use a construct
something like:
.if (!empty(PKGSRC_COMPILER:Mgcc)) && ${CC_VERSION:S/gcc-//:S/.//g} >=
800
However, it seems that the value returned by CC_VERSION varies by
platform, so while NetBSD would return "550" for GCC 5.5.0 or "1040"
for 10.4.0, on Fedora Linux, I get "12" for 12.2.1. I haven't looked
into why there's the difference. Anyway, I won't change anything
further here.
Regards,
Dave
Home |
Main Index |
Thread Index |
Old Index