summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/uclibc/uclibc-git/append_UCLIBC_EXTRA_CFLAGS.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-07-01 16:17:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-07 10:57:53 +0100
commit07d06735279d6214197ebb3614dea0b90c2e7300 (patch)
tree3ab6dadb991ef4e7953a87c3f25c2ffbb7806429 /meta/recipes-core/uclibc/uclibc-git/append_UCLIBC_EXTRA_CFLAGS.patch
parentd0829aea5f3d170f188e806eca253f994a318e31 (diff)
downloadpoky-07d06735279d6214197ebb3614dea0b90c2e7300.tar.gz
uclibc_git: Move SRCREV past 0.9.32 release
Set DP = -1 since 0.9.32 should be preferred Remove patches already merged upstream Change PV to 0.9.32+0.9.33-rc0 (From OE-Core rev: b0f87affd43ebaf4a9fd07e1cb99408073c61263) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-git/append_UCLIBC_EXTRA_CFLAGS.patch')
-rw-r--r--meta/recipes-core/uclibc/uclibc-git/append_UCLIBC_EXTRA_CFLAGS.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-git/append_UCLIBC_EXTRA_CFLAGS.patch b/meta/recipes-core/uclibc/uclibc-git/append_UCLIBC_EXTRA_CFLAGS.patch
deleted file mode 100644
index edcb4e324b..0000000000
--- a/meta/recipes-core/uclibc/uclibc-git/append_UCLIBC_EXTRA_CFLAGS.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1UCLIBC_EXTRA_CFLAGS is currently added before the OPTIMIZATION flags
2and OPTIMIZATION is chosen to be Os by default. But in OE we pass the optimisation
3flags through UCLIBC_EXTRA_CFLAGS but they are not effective since -Os is
4specified at last. So we need to change the order of these option flags
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
8Upstream-Status: Pending
9
10diff --git a/Rules.mak b/Rules.mak
11index 65fe47c..eca7f40 100644
12--- a/Rules.mak
13+++ b/Rules.mak
14@@ -585,9 +574,6 @@ CFLAGS := -include $(top_srcdir)include/libc-symbols.h \
15 -nostdinc -I$(top_builddir)include -I$(top_srcdir)include -I. \
16 -I$(top_srcdir)libc/sysdeps/linux \
17 -I$(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)
18-ifneq ($(strip $(UCLIBC_EXTRA_CFLAGS)),"")
19-CFLAGS += $(call qstrip,$(UCLIBC_EXTRA_CFLAGS))
20-endif
21
22 # We need this to be checked within libc-symbols.h
23 ifneq ($(HAVE_SHARED),y)
24@@ -633,6 +619,9 @@ LDFLAGS += -Wl,-s
25 else
26 STRIPTOOL := true -Stripping_disabled
27 endif
28+ifneq ($(strip $(UCLIBC_EXTRA_CFLAGS)),"")
29+CFLAGS += $(call qstrip,$(UCLIBC_EXTRA_CFLAGS))
30+endif
31
32 ifeq ($(DOMULTI),y)
33 # we try to compile all sources at once into an object (IMA), but