Package: free42-nologo / 2.5.25+ds-1

libbidgcc.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Description: replace the nested gcc111libbid.a which is build within the upstream package with lbidgcc111 from Debian package. 
--- a/gtk/Makefile
+++ b/gtk/Makefile
@@ -42,7 +42,7 @@
 	 -fno-rtti \
 	 -D_WCHAR_T_DEFINED
 
-LIBS = gcc111libbid.a $(shell pkg-config --libs gtk+-3.0)
+LIBS = -lbidgcc111 $(shell pkg-config --libs gtk+-3.0)
 
 ifdef AUDIO_ALSA
 LIBS += -lpthread -ldl
@@ -91,7 +91,7 @@
 OBJS += audio_alsa.o
 endif
 
-$(EXE): $(OBJS) gcc111libbid.a
+$(EXE): $(OBJS) 
 	$(CXX) -o $(EXE) $(LDFLAGS) $(OBJS) $(LIBS)
 
 $(SRCS) skin2cc.cc keymap2cc.cc skin2cc.conf: symlinks
@@ -114,10 +114,6 @@
 keymap.cc: keymap2cc keymap.txt
 	./keymap2cc
 
-gcc111libbid.a:
-	sh ./build-intel-lib.sh
-	ln -s IntelRDFPMathLib20U1/TESTS/readtest.c
-
 symlinks:
 	for fn in `cd ../common; /bin/ls`; do ln -s ../common/$$fn; done
 	touch symlinks
@@ -134,7 +130,6 @@
 		skin2cc skin2cc.exe skins.cc \
 		keymap2cc keymap2cc.exe keymap.cc \
 		readtest_lines.cc \
-		gcc111libbid.a \
 		*.o *.d *.i *.ii *.s symlinks core.*
 	rm -rf IntelRDFPMathLib20U1