Debian Codegraph @

debian/patches/libbidgcc.patch

raw
1 Description: Use the packaged Intel floating-point math library
2 Author: Christian Stalp <[email protected]>
3 Forwarded: not-needed
4
5 --- a/gtk/Makefile
6 +++ b/gtk/Makefile
7 @@ -42,7 +42,7 @@
8 -fno-rtti \
9 -D_WCHAR_T_DEFINED
10
11 -LIBS = gcc111libbid.a $(shell $(PKG_CONFIG) --libs gtk+-3.0)
12 +LIBS = -lbidgcc111 $(shell $(PKG_CONFIG) --libs gtk+-3.0)
13
14 ifdef AUDIO_ALSA
15 LIBS += -lpthread -ldl
16 @@ -100,13 +100,13 @@
17 OBJS += audio_alsa.o
18 endif
19
20 -$(EXE): $(OBJS) icons.o gcc111libbid.a
21 +$(EXE): $(OBJS) icons.o
22 $(CXX) -o $(EXE) $(LDFLAGS) $(OBJS) icons.o $(LIBS)
23
24 -txt2raw: symlinks txt2raw.o $(CORE_OBJS) gcc111libbid.a
25 +txt2raw: symlinks txt2raw.o $(CORE_OBJS)
26 $(CXX) -o txt2raw $(LDFLAGS) txt2raw.o $(CORE_OBJS) $(LIBS)
27
28 -raw2txt: symlinks raw2txt.o $(CORE_OBJS) gcc111libbid.a
29 +raw2txt: symlinks raw2txt.o $(CORE_OBJS)
30 $(CXX) -o raw2txt $(LDFLAGS) raw2txt.o $(CORE_OBJS) $(LIBS)
31
32 $(SRCS) skin2cc.cc keymap2cc.cc skin2cc.conf: symlinks
33 @@ -134,10 +134,6 @@
34 keymap.cc: keymap2cc keymap.txt
35 ./keymap2cc
36
37 -gcc111libbid.a:
38 - sh ./build-intel-lib.sh
39 - ln -s IntelRDFPMathLib20U1/TESTS/readtest.c
40 -
41 symlinks:
42 for fn in `cd ../common; /bin/ls`; do ln -s ../common/$$fn; done
43 touch symlinks
44 @@ -155,7 +151,6 @@
45 skin2cc skin2cc.exe skins.cc \
46 keymap2cc keymap2cc.exe keymap.cc \
47 readtest_lines.cc \
48 - gcc111libbid.a \
49 *.o *.d *.i *.ii *.s symlinks core.* \
50 raw2txt txt2raw
51 rm -rf IntelRDFPMathLib20U1