summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-03-26 21:22:50 +0000
committerMike Frysinger <vapier@gentoo.org>2012-03-26 21:22:50 +0000
commit5b386c800b010798641667db4dfa80d005c1115a (patch)
tree4504e856cf012493cdad458ab9d4327d476e17f6 /sys-fs/lvm2/files
parentUpstream stable 1.8.3 release, which fixes sqlite3 performance (diff)
downloadgentoo-2-5b386c800b010798641667db4dfa80d005c1115a.tar.gz
gentoo-2-5b386c800b010798641667db4dfa80d005c1115a.tar.bz2
gentoo-2-5b386c800b010798641667db4dfa80d005c1115a.zip
Respect the $CC value that autoconf setup.
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/lvm2/files')
-rw-r--r--sys-fs/lvm2/files/lvm2-2.02.88-respect-cc.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/sys-fs/lvm2/files/lvm2-2.02.88-respect-cc.patch b/sys-fs/lvm2/files/lvm2-2.02.88-respect-cc.patch
new file mode 100644
index 000000000000..13d99ade0771
--- /dev/null
+++ b/sys-fs/lvm2/files/lvm2-2.02.88-respect-cc.patch
@@ -0,0 +1,17 @@
+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@