--- a/Makefile
+++ b/Makefile
@@ -27,11 +27,11 @@ ifeq ($(DEBUG), 1)
     SECURITY_CFLAGS = -fstack-protector-strong \
                       -fPIC -Wall -Wextra -Wformat=2 -Wformat-security \
                       -Wnull-dereference -Wstack-protector \
-                      -fsanitize=address \
-                      -fno-omit-frame-pointer
+#                      -fsanitize=address \
+                      -fno-omit-frame-pointer
 
     ifneq ($(CC),clang)
         SECURITY_CFLAGS += -Wtrampolines
     endif
-    SECURITY_LDFLAGS = -fsanitize=address
+    SECURITY_LDFLAGS = 
 else
     SECURITY_CFLAGS = -fstack-protector-strong -D_FORTIFY_SOURCE=2 \
                       -fPIC -Wall -Wextra -Wformat=2 -Wformat-security \
@@ -39,7 +39,7 @@ else
     # Only add _FORTIFY_SOURCE if not already defined (e.g. by makepkg)
     ifeq ($(findstring _FORTIFY_SOURCE,$(CFLAGS) $(CPPFLAGS)),)
         SECURITY_CFLAGS += -D_FORTIFY_SOURCE=2
-    endif
+    endif
     SECURITY_LDFLAGS =
 endif
 
@@ -129,7 +129,7 @@ install-dynamic: $(SHARED_LIB)
 	$(INSTALL) -D -m755 $< $(DESTDIR)$(LIBDIR)/$<
 	ln -sf $< $(DESTDIR)$(LIBDIR)/$(SONAME)
 	ln -sf $< $(DESTDIR)$(LIBDIR)/libexecinfo.so
-	ldconfig -n $(DESTDIR)$(LIBDIR) 2>/dev/null || true
+	# ldconfig -n $(DESTDIR)$(LIBDIR) 2>/dev/null || true
 
 install-headers:
 	$(INSTALL) -D -m644 execinfo.h $(DESTDIR)$(INCLUDEDIR)/execinfo.h