summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2022-10-02 14:36:31 +0100
committerGitHub <noreply@github.com>2022-10-02 16:36:31 +0300
commitff808090535a665ce3e376b88ff7e07818a2916b (patch)
tree1aff0f048e7ea4462fd7c086faf516234b9e9a53 /src/Makefile
parent3469c6509c4078f6b2738359ebaacf5df707a6a1 (diff)
downloadredis-ff808090535a665ce3e376b88ff7e07818a2916b.tar.gz
register debug support on illumos/solaris. (#11335)
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 6a56c1dff..a966d001a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -139,6 +139,9 @@ ifeq ($(uname_S),SunOS)
INSTALL=cp -pf
FINAL_CFLAGS+= -D__EXTENSIONS__ -D_XPG6
FINAL_LIBS+= -ldl -lnsl -lsocket -lresolv -lpthread -lrt
+ ifeq ($(USE_BACKTRACE),yes)
+ FINAL_CFLAGS+= -DUSE_BACKTRACE
+ endif
else
ifeq ($(uname_S),Darwin)
# Darwin