[Makefile] Set default build type to debug

This commit is contained in:
Dmitry Ivanov
2021-10-11 17:08:31 +03:00
parent 1cd7900790
commit bb239b4f69

View File

@@ -10,6 +10,7 @@ endif
# We differentiate between release / debug build types using the BUILD_TYPE
# environment variable.
#
BUILD_TYPE ?= debug
ifeq ($(BUILD_TYPE),release)
PG_CONFIGURE_OPTS = --enable-debug
PG_CFLAGS = -O2 -g3 $(CFLAGS)