]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/mdadm/mdadm-1.12.0/build_flags.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / mdadm / mdadm-1.12.0 / build_flags.patch
1 --- mdadm-1.12.0/Makefile       2005-08-22 17:30:21.000000000 -0700
2 +++ mdadm-1.12.0/Makefile~      2005-08-22 17:30:14.000000000 -0700
3 @@ -37,13 +37,13 @@
4  
5  KLIBC_GCC = gcc -nostdinc -iwithprefix include -I$(KLIBC)/klibc/include -I$(KLIBC)/linux/include -I$(KLIBC)/klibc/arch/i386/include -I$(KLIBC)/klibc/include/bits32
6  
7 -CC = gcc
8 -CXFLAGS = -ggdb
9 +CC := $(CC) 
10 +CXFLAGS = 
11  CWFLAGS = -Wall -Werror -Wstrict-prototypes
12  SYSCONFDIR = /etc
13  CONFFILE = $(SYSCONFDIR)/mdadm.conf
14  MAILCMD =/usr/sbin/sendmail -t
15 -CFLAGS = $(CWFLAGS) -DCONFFILE=\"$(CONFFILE)\" $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\"
16 +CFLAGS := $(CFLAGS) $(TARGET_CFLAGS) $(CWFLAGS) -DCONFFILE=\"$(CONFFILE)\" $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\"
17  
18  # If you want a static binary, you might uncomment these
19  # LDFLAGS = -static