summaryrefslogtreecommitdiffstats
path: root/sys-apps/mkinitrd/files/mdadm-ds-static.patch
blob: bd6afb424ee6b2c0d7d326c914109663a1ffd268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -dPNur mdadm-2.1/Makefile mdadm-2.1-new/Makefile
--- mdadm-2.1/Makefile	2005-09-05 00:54:55.000000000 +0000
+++ mdadm-2.1-new/Makefile	2006-01-05 16:45:15.000000000 +0000
@@ -39,15 +39,15 @@
 
 CC = $(CROSS_COMPILE)gcc
 CXFLAGS = -ggdb
-CWFLAGS = -Wall -Werror -Wstrict-prototypes
+CWFLAGS = -Wall -Wstrict-prototypes
 SYSCONFDIR = /etc
 CONFFILE = $(SYSCONFDIR)/mdadm.conf
 MAILCMD =/usr/sbin/sendmail -t
 CFLAGS = $(CWFLAGS) -DCONFFILE=\"$(CONFFILE)\" $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\"
 
 # If you want a static binary, you might uncomment these
-# LDFLAGS = -static
-# STRIP = -s
+LDFLAGS = -static
+STRIP = -s
 
 INSTALL = /usr/bin/install
 DESTDIR =