diff options
Diffstat (limited to 'meta/recipes-extended/bc/bc/no-gen-libmath.patch')
-rw-r--r-- | meta/recipes-extended/bc/bc/no-gen-libmath.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-extended/bc/bc/no-gen-libmath.patch b/meta/recipes-extended/bc/bc/no-gen-libmath.patch new file mode 100644 index 0000000000..c4cce58759 --- /dev/null +++ b/meta/recipes-extended/bc/bc/no-gen-libmath.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | These rules are not cross-friendly so delete them and we'll generate the file offline. | ||
2 | |||
3 | Upstream-Status: Inappropriate | ||
4 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
5 | |||
6 | diff --git a/bc/Makefile.am b/bc/Makefile.am | ||
7 | index d9d412e..f244241 100644 | ||
8 | --- a/bc/Makefile.am | ||
9 | +++ b/bc/Makefile.am | ||
10 | @@ -31,14 +31,6 @@ global.o: libmath.h | ||
11 | |||
12 | fbcOBJ = main.o bc.o scan.o execute.o load.o storage.o util.o warranty.o | ||
13 | |||
14 | -libmath.h: libmath.b $(fbcOBJ) $(LIBBC) | ||
15 | - echo '{0}' > libmath.h | ||
16 | - $(MAKE) global.o | ||
17 | - $(LINK) -o fbc $(fbcOBJ) global.o $(LIBBC) $(LIBL) $(READLINELIB) $(LIBS) | ||
18 | - ./fbc -c $(srcdir)/libmath.b </dev/null >libmath.h | ||
19 | - $(srcdir)/fix-libmath_h | ||
20 | - rm -f ./fbc ./global.o | ||
21 | - | ||
22 | sbcOBJ = main.o sbc.o scan.o execute.o global.o load.o storage.o util.o \ | ||
23 | warranty.o | ||
24 | sbc.o: sbc.c | ||