1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/bc/use-toolchain-bc.patch.cross
3 # Copyright (C) 2022 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- bc/bc/Makefile.am.vanilla 2022-01-28 17:10:59.245000000 +0100
15 +++ bc/bc/Makefile.am 2022-01-28 17:11:42.301000000 +0100
18 fbcOBJ = main.o bc.o scan.o execute.o load.o storage.o util.o warranty.o
20 -libmath.h: libmath.b $(fbcOBJ) $(LIBBC)
21 +libmath.h: libmath.b $(LIBBC)
22 echo '{0}' > libmath.h
24 - $(LINK) -o fbc $(fbcOBJ) global.o $(LIBBC) $(LIBL) $(READLINELIB) $(LIBS)
25 - ./fbc -c $(srcdir)/libmath.b </dev/null >libmath.h
26 + bc -c $(srcdir)/libmath.b </dev/null >libmath.h
27 $(srcdir)/fix-libmath_h
28 - rm -f ./fbc ./global.o
30 sbcOBJ = main.o sbc.o scan.o execute.o global.o load.o storage.o util.o \