git: 4c983a288687 - main - libcompiler_rt Makefile.inc: include bsd.compiler.mk to fix build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 07 Apr 2024 19:53:13 UTC
The branch main has been updated by dim:
URL: https://cgit.FreeBSD.org/src/commit/?id=4c983a2886877a855ac3a2836b15d80356fbb8d4
commit 4c983a2886877a855ac3a2836b15d80356fbb8d4
Author: Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-04-07 19:45:51 +0000
Commit: Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-04-07 19:45:51 +0000
libcompiler_rt Makefile.inc: include bsd.compiler.mk to fix build
Apparently libgcc_s has always included libcompiler_rt's Makefile.inc
without first including bsd.compiler.mk, even though Makefile.inc used
COMPILER_TYPE already. It looks like we were just lucky that the
expression was not malformed.
PR: 276104
Reported by: Herbert J. Skuhra <herbert@gojira.at>
MFC after: 1 month
---
lib/libcompiler_rt/Makefile.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/libcompiler_rt/Makefile.inc b/lib/libcompiler_rt/Makefile.inc
index 2c756f4ad21f..47d87b71ea77 100644
--- a/lib/libcompiler_rt/Makefile.inc
+++ b/lib/libcompiler_rt/Makefile.inc
@@ -1,3 +1,4 @@
+.include <bsd.compiler.mk>
CRTARCH= ${MACHINE_CPUARCH:C/amd64/x86_64/:C/powerpc/ppc/}