fix auth read
This commit is contained in:
+9
-5
@@ -1,6 +1,7 @@
|
||||
CC = clang
|
||||
RELEASE ?= 0
|
||||
SQUEEZE ?= 0
|
||||
RELEASE ?= 0 # Optimize.
|
||||
DEBUG ?= 1 # Emit debug info.
|
||||
SQUEEZE ?= 0 # Nuclear option to save space.
|
||||
BITS ?= 64
|
||||
CFLAGS = -Wall -std=gnu99 -flto=thin -ffast-math -fno-ident -fvisibility=hidden
|
||||
ifeq ($(MAKECMDGOALS),linux)
|
||||
@@ -23,10 +24,13 @@ ifeq ($(MAKECMDGOALS),wasm)
|
||||
CFLAGS += -Wl,--compress-relocations
|
||||
endif
|
||||
endif
|
||||
ifeq ($(RELEASE), 0)
|
||||
CFLAGS += -g3 -O1
|
||||
ifeq ($(DEBUG), 1)
|
||||
CFLAGS += -g3
|
||||
else
|
||||
CFLAGS += -Wl,--strip-all -DNDEBUG -O3 -fuse-ld=lld -fmerge-all-constants -Wl,-O3 \
|
||||
CFLAGS += -DNDEBUG -Wl,--strip-all
|
||||
endif
|
||||
ifeq ($(RELEASE), 1)
|
||||
CFLAGS += -O1 -fuse-ld=lld -fmerge-all-constants -Wl,-O3 \
|
||||
-ffunction-sections -fdata-sections -Wl,--gc-sections \
|
||||
-Wl,-mllvm,--vectorize-slp=true \
|
||||
-Wl,-mllvm,--enable-gvn-hoist=true
|
||||
|
||||
Reference in New Issue
Block a user