fix partial-build test
sometimes, the scope difference is solely determined by the list of source files, not by the flags.
This commit is contained in:
+1
-1
@@ -185,7 +185,7 @@ HASH ?= md5sum
|
|||||||
|
|
||||||
HAVE_HASH := $(shell echo 1 | $(HASH) > /dev/null && echo 1 || echo 0)
|
HAVE_HASH := $(shell echo 1 | $(HASH) > /dev/null && echo 1 || echo 0)
|
||||||
ifeq ($(HAVE_HASH), 1)
|
ifeq ($(HAVE_HASH), 1)
|
||||||
HASH_VALUE := $(shell echo $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) | $(HASH) | head -c 16)
|
HASH_VALUE := $(shell echo $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(ZSTD_FILES) | $(HASH) | head -c 16)
|
||||||
HASH_DIR := conf_$(HASH_VALUE)
|
HASH_DIR := conf_$(HASH_VALUE)
|
||||||
else
|
else
|
||||||
$(info warning : could not find hash function to differentiate builds with different flags)
|
$(info warning : could not find hash function to differentiate builds with different flags)
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ mustBeAbsent() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# default compilation : all features enabled
|
# default compilation : all features enabled
|
||||||
make clean > /dev/null
|
|
||||||
$ECHO "testing default library compilation"
|
$ECHO "testing default library compilation"
|
||||||
CFLAGS= make -C $DIR/../lib libzstd.a > $INTOVOID
|
CFLAGS= make -C $DIR/../lib libzstd.a > $INTOVOID
|
||||||
nm $DIR/../lib/libzstd.a | $GREP "\.o" > tmplog
|
nm $DIR/../lib/libzstd.a | $GREP "\.o" > tmplog
|
||||||
|
|||||||
Reference in New Issue
Block a user