diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-devtools/insserv/files/crosscompile_fix.patch | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/insserv/files/crosscompile_fix.patch')
-rw-r--r-- | meta/recipes-devtools/insserv/files/crosscompile_fix.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-devtools/insserv/files/crosscompile_fix.patch b/meta/recipes-devtools/insserv/files/crosscompile_fix.patch new file mode 100644 index 0000000000..14d8db468f --- /dev/null +++ b/meta/recipes-devtools/insserv/files/crosscompile_fix.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | Index: insserv-1.11.0/Makefile | ||
2 | =================================================================== | ||
3 | --- insserv-1.11.0.orig/Makefile 2008-08-25 16:00:00.000000000 +0100 | ||
4 | +++ insserv-1.11.0/Makefile 2008-08-25 16:00:25.000000000 +0100 | ||
5 | @@ -18,16 +18,7 @@ | ||
6 | # | ||
7 | # Architecture | ||
8 | # | ||
9 | -ifdef RPM_OPT_FLAGS | ||
10 | - COPTS = -g $(RPM_OPT_FLAGS) | ||
11 | -else | ||
12 | - ARCH = $(shell uname -i) | ||
13 | -ifeq ($(ARCH),i386) | ||
14 | - COPTS = -O2 -mcpu=i586 -mtune=i686 | ||
15 | -else | ||
16 | - COPTS = -O2 | ||
17 | -endif | ||
18 | -endif | ||
19 | +COPTS = -O2 | ||
20 | COPTS += -g | ||
21 | |||
22 | MY_CFLAGS = $(CFLAGS) -Wall $(COPTS) $(DEBUG) $(LOOPS) -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 \ | ||