build luajit with debug symbols

This commit is contained in:
Elvin Efendi 2018-09-11 20:52:53 -04:00
parent 2be92628b7
commit 1a84719e0b
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@
# limitations under the License.
# 0.0.0 shouldn't clobber any released builds
TAG ?= 0.61
TAG ?= 0.62
REGISTRY ?= quay.io/kubernetes-ingress-controller
ARCH ?= $(shell go env GOARCH)
DOCKER ?= docker

View file

@ -243,7 +243,7 @@ fi
# luajit is not available on ppc64le and s390x
if [[ (${ARCH} != "ppc64le") && (${ARCH} != "s390x") ]]; then
cd "$BUILD_PATH/luajit2-2.1-20180420"
make
make CCDEBUG=-g
make install
export LUAJIT_LIB=/usr/local/lib