public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-fs/mdadm/files: mdadm-3.1.5-cflags.patch
@ 2011-03-27  3:35 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2011-03-27  3:35 UTC (permalink / raw
  To: gentoo-commits

vapier      11/03/27 03:35:45

  Added:                mdadm-3.1.5-cflags.patch
  Log:
  Version bump.
  
  (Portage version: 2.2.0_alpha28/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sys-fs/mdadm/files/mdadm-3.1.5-cflags.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/mdadm/files/mdadm-3.1.5-cflags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/mdadm/files/mdadm-3.1.5-cflags.patch?rev=1.1&content-type=text/plain

Index: mdadm-3.1.5-cflags.patch
===================================================================
by Nathan Phillip Brink <ohnobinki@ohnopublishing.net>

Use CFLAGS when using the compiler driver during the linking stage.
Fixes Gentoo portage-multilib compilation failure.

http://bugs.gentoo.org/336175

--- a/Makefile
+++ b/Makefile
@@ -144,7 +144,7 @@
 # mdadm.tcc doesn't work..
 
 mdadm : $(OBJS)
-	$(CC) $(LDFLAGS) -o mdadm $(OBJS) $(LDLIBS)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o mdadm $(OBJS) $(LDLIBS)
 
 mdadm.static : $(OBJS) $(STATICOBJS)
 	$(CC) $(LDFLAGS) -static -o mdadm.static $(OBJS) $(STATICOBJS)
@@ -167,7 +167,7 @@
 
 # use '' to guarantee no dynamic linker interactions with the monitor thread
 mdmon : $(MON_OBJS)
-	$(CC) $(LDFLAGS) $(MON_LDFLAGS) -Wl,-z,now -o mdmon $(MON_OBJS) $(LDLIBS)
+	$(CC) $(CFLAGS) $(LDFLAGS) $(MON_LDFLAGS) -Wl,-z,now -o mdmon $(MON_OBJS) $(LDLIBS)
 msg.o: msg.c msg.h
 
 test_stripe : restripe.c mdadm.h






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-27  3:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-27  3:35 [gentoo-commits] gentoo-x86 commit in sys-fs/mdadm/files: mdadm-3.1.5-cflags.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