diff options
author | Richard Purdie <richard@openedhand.com> | 2008-08-25 15:05:03 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-08-25 15:05:03 +0000 |
commit | 15c905c270533b5e2313b4ee25b9935604018fc2 (patch) | |
tree | 1ae5b9c0e05a33510f7ad208f39785bb5b56bc7b /meta/packages/insserv/files | |
parent | aa7d993edb7c4d2ea83bff625f41b6fa15070e83 (diff) | |
download | openembedded-core-15c905c270533b5e2313b4ee25b9935604018fc2.tar.gz openembedded-core-15c905c270533b5e2313b4ee25b9935604018fc2.tar.bz2 openembedded-core-15c905c270533b5e2313b4ee25b9935604018fc2.tar.xz openembedded-core-15c905c270533b5e2313b4ee25b9935604018fc2.zip |
insserv: Fix a cross compile issue on i386 machines
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5090 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/insserv/files')
-rw-r--r-- | meta/packages/insserv/files/crosscompile_fix.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/packages/insserv/files/crosscompile_fix.patch b/meta/packages/insserv/files/crosscompile_fix.patch new file mode 100644 index 000000000..14d8db468 --- /dev/null +++ b/meta/packages/insserv/files/crosscompile_fix.patch @@ -0,0 +1,22 @@ +Index: insserv-1.11.0/Makefile +=================================================================== +--- insserv-1.11.0.orig/Makefile 2008-08-25 16:00:00.000000000 +0100 ++++ insserv-1.11.0/Makefile 2008-08-25 16:00:25.000000000 +0100 +@@ -18,16 +18,7 @@ + # + # Architecture + # +-ifdef RPM_OPT_FLAGS +- COPTS = -g $(RPM_OPT_FLAGS) +-else +- ARCH = $(shell uname -i) +-ifeq ($(ARCH),i386) +- COPTS = -O2 -mcpu=i586 -mtune=i686 +-else +- COPTS = -O2 +-endif +-endif ++COPTS = -O2 + COPTS += -g + + MY_CFLAGS = $(CFLAGS) -Wall $(COPTS) $(DEBUG) $(LOOPS) -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 \ |