git: 38c41132b06b - main - sysutils/devcpu-data: respect CC

Sean Bruno sbruno at FreeBSD.org
Fri Jul 30 20:54:31 UTC 2021


The branch main has been updated by sbruno:

URL: https://cgit.FreeBSD.org/ports/commit/?id=38c41132b06b566c476f09167431a4446db6170b

commit 38c41132b06b566c476f09167431a4446db6170b
Author:     Sean Bruno <sbruno at FreeBSD.org>
AuthorDate: 2021-07-30 20:48:46 +0000
Commit:     Sean Bruno <sbruno at FreeBSD.org>
CommitDate: 2021-07-30 20:53:48 +0000

    sysutils/devcpu-data: respect CC
    
    No need to bump PORTREVISION as this only fixes a build that never
    worked before this commit.
    
    PR: 257459
    Reported by: evgeniy at khramtsov.org
---
 sysutils/devcpu-data/files/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysutils/devcpu-data/files/Makefile b/sysutils/devcpu-data/files/Makefile
index 820c3235ee67..975279ec2a14 100644
--- a/sysutils/devcpu-data/files/Makefile
+++ b/sysutils/devcpu-data/files/Makefile
@@ -12,7 +12,7 @@ ucode:	ucode-split
 
 # Use the host cc to compile ucode-split in case of cross-compile
 ucode-split: ucode-split.c
-	cc ucode-split.c -o $@
+	${CC} ucode-split.c -o $@
 
 clean:
 	rm -rf $(OUTPUT_DIR) ucode-split


More information about the dev-commits-ports-all mailing list