]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed zstd+sanitizer build
authorYann Collet <cyan@fb.com>
Mon, 21 Dec 2020 01:53:04 +0000 (17:53 -0800)
committerYann Collet <cyan@fb.com>
Mon, 21 Dec 2020 01:53:04 +0000 (17:53 -0800)
.github/workflows/generic-dev.yml
programs/Makefile

index 8882fcc0b6aa5ce8e7f55bda59c6b1bdefe4806c..85987ef3ab5817d3d80f1e979dc47f17e0a763ad 100644 (file)
@@ -71,7 +71,7 @@ jobs:
         make gcc8install
         CC=gcc-8 CFLAGS="-Werror" make -j all
         make clean
-        CC=gcc-8 make -j uasan-test-zstd </dev/null
+        CC=gcc-8 make -j uasan-test-zstd </dev/null V=1
 
   gcc-6-asan-ubsan-testzstd-32bit:
     runs-on: ubuntu-latest
index 86c4610ccb6c6e2034ce59fcccea6dbed509b43f..b6f3a916c28e6d1e8fc9c3cc632574d085579258 100644 (file)
@@ -61,8 +61,10 @@ DEBUGFLAGS+=-Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \
             -Wstrict-prototypes -Wundef -Wpointer-arith \
             -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings \
             -Wredundant-decls -Wmissing-prototypes -Wc++-compat
-CFLAGS   += $(DEBUGFLAGS) $(MOREFLAGS)
-FLAGS     = $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
+CFLAGS   += $(DEBUGFLAGS)
+CPPFLAGS += $(MOREFLAGS)
+LDFLAGS  += $(MOREFLAGS)
+FLAGS     = $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
 
 ZSTDLIB_COMMON := $(ZSTDDIR)/common
 ZSTDLIB_COMPRESS := $(ZSTDDIR)/compress