Skip to content

Commit ea38db2

Browse files
committed
Remove custom and lsearch and tsearch
The implementations of lsearch and tsearch were kept in order to support emscripten in the past. They lie unused for now, and will only complicate the move to a new build system, so they are being removed now.
1 parent abd45b5 commit ea38db2

File tree

4 files changed

+0
-52
lines changed

4 files changed

+0
-52
lines changed

.gitmodules

-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
[submodule "3rdparty/wb_intercon"]
55
path = 3rdparty/wb_intercon
66
url = https://github.com/olofk/wb_intercon.git
7-
[submodule "3rdparty/naive-tsearch"]
8-
path = 3rdparty/naive-tsearch
9-
url = https://github.com/kulp/naive-tsearch.git
107
[submodule "3rdparty/ulx3s"]
118
path = 3rdparty/ulx3s
129
url = https://github.com/emard/ulx3s.git

3rdparty/naive-tsearch

-1
This file was deleted.

Makefile

-12
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,6 @@ tsim_OBJECTS = $(common_OBJECTS) simif.o asm.o obj.o plugin.o \
3434
$(DEVOBJS) sim.o
3535
tld_OBJECTS = $(common_OBJECTS) obj.o
3636

37-
ifeq ($(USE_OWN_SEARCH),1)
38-
vpath %.c $(TOP)/3rdparty/naive-tsearch
39-
# The interface of lsearch and tsearch is not something we can change.
40-
lsearch.o tsearch.o: CFLAGS += -W$(PEDANTRY_EXCEPTION)cast-qual
41-
# tsearch.o from naive-tsearch has feature flags
42-
tsearch.o: CFLAGS += -Wno-unused-macros
43-
44-
tas_OBJECTS += lsearch.o tsearch.o
45-
tld_OBJECTS += lsearch.o tsearch.o
46-
tsim_OBJECTS += lsearch.o tsearch.o
47-
endif
48-
4937
showbuilddir:
5038
@echo $(abspath $(BUILDDIR))
5139

src/lsearch.c

-36
This file was deleted.

0 commit comments

Comments
 (0)