3.3.4 -> 3.4 a) Removed the following upstreamed patch: 1. 0001-Define-_POSIX_C_SOURCE-if-undefined.patch b) Added following patches to fix uclibc,musl and x32 build failures 1. 0001-mdadm.h-bswap-is-already-defined-in-uclibc.patch 2. 0001-util.c-include-poll.h-instead-of-sys-poll.h.patch 3. 0001-Fix-some-type-comparison-problems.patch 4. 0001-Fix-the-path-of-corosync-and-dlm-header-files-check.patch (From OE-Core rev: e1ae012388e4321b95cd79c014af135cf6c419ad) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
24 lines
957 B
Diff
24 lines
957 B
Diff
Upstream-Status: Accepted
|
|
|
|
By hardcoding CC's definition in the Makefile, all the gcc parameters
|
|
set by tune settings are lost. Causing compile failure with x32 toolchain
|
|
|
|
As the bitbake defined CC is good, there is no need to redfine CC in the
|
|
make file, hence making the CC definition in the Makefile conditional.
|
|
|
|
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/12/07
|
|
|
|
Index: mdadm-3.3/Makefile
|
|
===================================================================
|
|
--- mdadm-3.3.orig/Makefile 2013-09-03 07:47:47.000000000 +0300
|
|
+++ mdadm-3.3/Makefile 2013-10-16 16:44:23.542295487 +0300
|
|
@@ -41,7 +41,7 @@
|
|
|
|
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
|
|
|
|
-CC = $(CROSS_COMPILE)gcc
|
|
+CC ?= $(CROSS_COMPILE)gcc
|
|
CXFLAGS ?= -ggdb
|
|
CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
|
|
ifdef WARN_UNUSED
|