Description: Use the packaged Intel floating-point math library Author: Christian Stalp Forwarded: not-needed --- 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 @@ -100,13 +100,13 @@ OBJS += audio_alsa.o endif -$(EXE): $(OBJS) icons.o gcc111libbid.a +$(EXE): $(OBJS) icons.o $(CXX) -o $(EXE) $(LDFLAGS) $(OBJS) icons.o $(LIBS) -txt2raw: symlinks txt2raw.o $(CORE_OBJS) gcc111libbid.a +txt2raw: symlinks txt2raw.o $(CORE_OBJS) $(CXX) -o txt2raw $(LDFLAGS) txt2raw.o $(CORE_OBJS) $(LIBS) -raw2txt: symlinks raw2txt.o $(CORE_OBJS) gcc111libbid.a +raw2txt: symlinks raw2txt.o $(CORE_OBJS) $(CXX) -o raw2txt $(LDFLAGS) raw2txt.o $(CORE_OBJS) $(LIBS) $(SRCS) skin2cc.cc keymap2cc.cc skin2cc.conf: symlinks @@ -134,10 +134,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 @@ -155,7 +151,6 @@ skin2cc skin2cc.exe skins.cc \ keymap2cc keymap2cc.exe keymap.cc \ readtest_lines.cc \ - gcc111libbid.a \ *.o *.d *.i *.ii *.s symlinks core.* \ raw2txt txt2raw rm -rf IntelRDFPMathLib20U1