diff options
Diffstat (limited to 'meta/recipes-extended/procps/procps-3.2.8/detect_bitness.patch')
-rw-r--r-- | meta/recipes-extended/procps/procps-3.2.8/detect_bitness.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/meta/recipes-extended/procps/procps-3.2.8/detect_bitness.patch b/meta/recipes-extended/procps/procps-3.2.8/detect_bitness.patch deleted file mode 100644 index 1523c3dfb2..0000000000 --- a/meta/recipes-extended/procps/procps-3.2.8/detect_bitness.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | Do not try to detect 64bit/32bit system | ||
2 | we already feed that information via compiler | ||
3 | defaults | ||
4 | |||
5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
6 | Upstream-Status: Inappropriate [OE specific] | ||
7 | Index: procps-3.2.8/Makefile | ||
8 | =================================================================== | ||
9 | --- procps-3.2.8.orig/Makefile 2014-05-03 01:00:01.707387583 -0700 | ||
10 | +++ procps-3.2.8/Makefile 2014-05-03 08:53:08.087175369 -0700 | ||
11 | @@ -118,15 +118,6 @@ | ||
12 | # until you go looking for a 64-bit curses library. | ||
13 | check_gcc = $(shell if $(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) dummy.c $(ALL_LDFLAGS) $(1) -o /dev/null $(CURSES) > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;) | ||
14 | |||
15 | -# Be 64-bit if at all possible. In a cross-compiling situation, one may | ||
16 | -# do "make m64=-m32 lib64=lib" to produce 32-bit executables. DO NOT | ||
17 | -# attempt to use a 32-bit executable on a 64-bit kernel. Packagers MUST | ||
18 | -# produce separate executables for ppc and ppc64, s390 and s390x, | ||
19 | -# i386 and x86-64, mips and mips64, sparc and sparc64, and so on. | ||
20 | -# Failure to do so will cause data corruption. | ||
21 | -m64 := $(call check_gcc,-m64,$(call check_gcc,-mabi=64,)) | ||
22 | -ALL_CFLAGS += $(m64) | ||
23 | - | ||
24 | ALL_CFLAGS += $(call check_gcc,-Wdeclaration-after-statement,) | ||
25 | ALL_CFLAGS += $(call check_gcc,-Wpadded,) | ||
26 | ALL_CFLAGS += $(call check_gcc,-Wstrict-aliasing,) | ||