* [gentoo-commits] gentoo-x86 commit in sys-fs/lvm2/files: lvm2-2.02.88-respect-cc.patch
@ 2012-03-26 21:22 Mike Frysinger (vapier)
0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2012-03-26 21:22 UTC (permalink / raw
To: gentoo-commits
vapier 12/03/26 21:22:50
Added: lvm2-2.02.88-respect-cc.patch
Log:
Respect the $CC value that autoconf setup.
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
Revision Changes Path
1.1 sys-fs/lvm2/files/lvm2-2.02.88-respect-cc.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/lvm2/files/lvm2-2.02.88-respect-cc.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/lvm2/files/lvm2-2.02.88-respect-cc.patch?rev=1.1&content-type=text/plain
Index: lvm2-2.02.88-respect-cc.patch
===================================================================
GNU make always defaults CC to "cc", so using "?=" with the CC variable
will never override the internal make value. since @CC@ comes from the
configure script, and that respects the $CC env var, don't bother trying
to handle it in make too. it's not like we do this with any other build
variable after all.
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -17,7 +17,7 @@
@SET_MAKE@
-CC ?= @CC@
+CC = @CC@
RANLIB = @RANLIB@
INSTALL = @INSTALL@
MKDIR_P = @MKDIR_P@
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-26 21:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-26 21:22 [gentoo-commits] gentoo-x86 commit in sys-fs/lvm2/files: lvm2-2.02.88-respect-cc.patch Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox