library optimization flag can be selected on command line again
`CFLAGS=-O0 make` will now use `-O0` instead of enforcing `-O3` which used to be the behavior before introduction of `libzstd.mk`. This should result in faster tests, since a few tests depend on this capability for faster roundtrips.
This commit is contained in:
parent
eebf24bd2a
commit
75525fcb9f
@ -79,7 +79,7 @@ endif
|
|||||||
CFLAGS += -fno-stack-protector -fomit-frame-pointer -fno-ident \
|
CFLAGS += -fno-stack-protector -fomit-frame-pointer -fno-ident \
|
||||||
-DDYNAMIC_BMI2=0 -DNDEBUG
|
-DDYNAMIC_BMI2=0 -DNDEBUG
|
||||||
else
|
else
|
||||||
CFLAGS += -O3
|
CFLAGS ?= -O3
|
||||||
endif
|
endif
|
||||||
|
|
||||||
DEBUGLEVEL ?= 0
|
DEBUGLEVEL ?= 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user