Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 398467 | Differences between
and this patch

Collapse All | Expand All

(-)genkernel-3.4.22.1-vanilla/patches/mdadm/3.1.4/mdadm-3.1.4-z-now.patch (-26 lines)
Lines 1-26 Link Here
1
From 5296bc73a66e9eee31ba79d26aa02543205a7a26 Mon Sep 17 00:00:00 2001
2
From: Sebastian Pipping <sebastian@pipping.org>
3
Date: Tue, 30 Aug 2011 14:38:14 +0200
4
Subject: [PATCH] Replace "-z now" by "-Wl,-z,now" to fix compilation with GCC
5
 4.4.5 on Alpha (bug #331653)
6
7
---
8
 Makefile |    2 +-
9
 1 files changed, 1 insertions(+), 1 deletions(-)
10
11
diff --git a/Makefile b/Makefile
12
index e2c65a5..0cc9a87 100644
13
--- a/Makefile
14
+++ b/Makefile
15
@@ -167,7 +167,7 @@ mdmon.O2 : $(MON_SRCS) mdadm.h mdmon.h
16
 
17
 # use '-z now' to guarantee no dynamic linker interactions with the monitor thread
18
 mdmon : $(MON_OBJS)
19
-	$(CC) $(LDFLAGS) $(MON_LDFLAGS) -z now -o mdmon $(MON_OBJS) $(LDLIBS)
20
+	$(CC) $(LDFLAGS) $(MON_LDFLAGS) -Wl,-z,now -o mdmon $(MON_OBJS) $(LDLIBS)
21
 msg.o: msg.c msg.h
22
 
23
 test_stripe : restripe.c mdadm.h
24
-- 
25
1.7.6.1
26

Return to bug 398467