File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ hdr_histogram: .make-prerequisites
7676
7777fpconv : .make-prerequisites
7878 @printf ' %b %b\n' $(MAKECOLOR ) MAKE$(ENDCOLOR ) $(BINCOLOR ) $@ $(ENDCOLOR )
79- cd fpconv && $(MAKE ) CFLAGS=" -fPIC"
79+ cd fpconv && $(MAKE ) CFLAGS=" -fPIC $( CFLAGS ) "
8080
8181.PHONY : fpconv
8282
@@ -90,7 +90,7 @@ LUA_LDFLAGS+= $(LDFLAGS)
9090ifeq ($(LUA_DEBUG ) ,yes)
9191 LUA_CFLAGS+= -O0 -g -DLUA_USE_APICHECK
9292else
93- LUA_CFLAGS+= -O2
93+ LUA_CFLAGS+= -O2
9494endif
9595ifeq ($(LUA_COVERAGE ) ,yes)
9696 LUA_CFLAGS += -fprofile-arcs -ftest-coverage
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ LUA_MODULE=
258258LUA_MODULE_INSTALL =
259259LUA_MODULE_NAME: =modules/lua/libluaengine.so
260260
261- ifneq ($(WITHOUT_LUA ) ,yes )
261+ ifneq ($(BUILD_LUA ) ,no )
262262 LUA_MODULE=$(LUA_MODULE_NAME)
263263endif
264264
@@ -490,7 +490,7 @@ persist-settings: distclean
490490 echo BUILD_TLS=$(BUILD_TLS ) >> .make-settings
491491 echo BUILD_RDMA=$(BUILD_RDMA ) >> .make-settings
492492 echo USE_SYSTEMD=$(USE_SYSTEMD ) >> .make-settings
493- echo WITHOUT_LUA =$(WITHOUT_LUA ) >> .make-settings
493+ echo BUILD_LUA =$(BUILD_LUA ) >> .make-settings
494494 echo CFLAGS=$(CFLAGS ) >> .make-settings
495495 echo LDFLAGS=$(LDFLAGS ) >> .make-settings
496496 echo SERVER_CFLAGS=$(SERVER_CFLAGS ) >> .make-settings
You can’t perform that action at this time.
0 commit comments