From 856b2ebaaa52b6455fc31df400dbf0a9b5659275 Mon Sep 17 00:00:00 2001 From: Abhijeet Patil Date: Thu, 18 Jan 2024 18:15:25 +0000 Subject: [PATCH] added -static-libasan --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7632162ca3..68dda43518 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ else ifeq ($(BUILD_TYPE),debug) PG_CONFIGURE_OPTS = --enable-debug --with-openssl --enable-cassert --enable-depend PG_CFLAGS = -O0 -g3 $(CFLAGS) CPPFLAGS = -fsanitize=address -fsanitize=undefined -fno-sanitize-recover -Wno-cast-function-type-strict - LDFLAGS = -fsanitize=address -fsanitize=undefined -static-libubsan -lsoci_oracle.d + LDFLAGS = -fsanitize=address -fsanitize=undefined -static-libubsan -static-libasan -lsoci_oracle.d else $(error Bad build type '$(BUILD_TYPE)', see Makefile for options) endif