Sort the input file list (#133)
so that libsqlparser.so.1 builds in a reproducible way in spite of indeterministic filesystem readdir order. See https://reproducible-builds.org/ for why this is good.
This commit is contained in:
parent
a4703fec5b
commit
e88c1f4518
2
Makefile
2
Makefile
|
@ -49,7 +49,7 @@ else
|
||||||
LIB_CFLAGS += -fPIC
|
LIB_CFLAGS += -fPIC
|
||||||
LIB_LFLAGS = -shared -o
|
LIB_LFLAGS = -shared -o
|
||||||
endif
|
endif
|
||||||
LIB_CPP = $(shell find $(SRC) -name '*.cpp' -not -path "$(SRCPARSER)/*") $(PARSER_CPP)
|
LIB_CPP = $(sort $(shell find $(SRC) -name '*.cpp' -not -path "$(SRCPARSER)/*") $(PARSER_CPP))
|
||||||
LIB_H = $(shell find $(SRC) -name '*.h' -not -path "$(SRCPARSER)/*") $(PARSER_H)
|
LIB_H = $(shell find $(SRC) -name '*.h' -not -path "$(SRCPARSER)/*") $(PARSER_H)
|
||||||
LIB_ALL = $(shell find $(SRC) -name '*.cpp' -not -path "$(SRCPARSER)/*") $(shell find $(SRC) -name '*.h' -not -path "$(SRCPARSER)/*")
|
LIB_ALL = $(shell find $(SRC) -name '*.cpp' -not -path "$(SRCPARSER)/*") $(shell find $(SRC) -name '*.h' -not -path "$(SRCPARSER)/*")
|
||||||
LIB_OBJ = $(LIB_CPP:%.cpp=%.o)
|
LIB_OBJ = $(LIB_CPP:%.cpp=%.o)
|
||||||
|
|
Loading…
Reference in New Issue