summaryrefslogtreecommitdiff
path: root/sys-kernel/rumpkernel/files/rumpkernel-0_p20250111_p6-host-mkdep-cross.patch
blob: 68a2bdd211bd2f1d8c1b55bfcd016cdf5db5a147 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
https://bugs.gentoo.org/982745
--- a/buildrump.sh/src/tools/host-mkdep/Makefile
+++ b/buildrump.sh/src/tools/host-mkdep/Makefile
@@ -17,7 +17,7 @@
 # available at the time that host-mkdep is built.  The configure script
 # will try to find some other version of awk.
 #
-CONFIGURE_ENV=	CC=${HOST_CC:Q}
+CONFIGURE_ENV=	CC=${HOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} LDFLAGS=${HOST_LDFLAGS:Q}
 
 CONFIGURE_ARGS=	--cache-file=config.cache
 .if ${MAKEVERBOSE} == 0