FreeBSD Bugzilla – Attachment 226743 Details for
Bug 257459
sysutils/devcpu-data: respect CC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v1 (use "git am")
0001-sysutils-devcpu-data-respect-CC.patch (text/plain), 1.02 KB, created by
Ghost
on 2021-07-27 19:43:02 UTC
(
hide
)
Description:
v1 (use "git am")
Filename:
MIME Type:
Creator:
Ghost
Created:
2021-07-27 19:43:02 UTC
Size:
1.02 KB
patch
obsolete
>From 370266dd57813becaca447dfa8f7fccbc6bfccfa Mon Sep 17 00:00:00 2001 >From: Evgeniy Khramtsov <evgeniy@khramtsov.org> >Date: Tue, 27 Jul 2021 11:19:29 +0300 >Subject: [PATCH] sysutils/devcpu-data: respect CC > >/usr/bin/cc can be absent due to base built WITHOUT_CLANG, >external toolchain from ports can be installed instead. > >Respect $CC from environment, e.g. when >/usr/local/share/toolchains/*.mk gets included: > >cc ucode-split.c -o ucode-split >sh: cc: not found >*** [ucode-split] Error code 127 >--- > 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 >-- >2.32.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 257459
: 226743