Commit ba559326 authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Solaris doesn't support -rdynamic

parent a1e97d69
...@@ -8,9 +8,11 @@ OPTIMIZATION?=-O2 ...@@ -8,9 +8,11 @@ OPTIMIZATION?=-O2
ifeq ($(uname_S),SunOS) ifeq ($(uname_S),SunOS)
CFLAGS?= -std=c99 -pedantic $(OPTIMIZATION) -Wall -W -D__EXTENSIONS__ -D_XPG6 CFLAGS?= -std=c99 -pedantic $(OPTIMIZATION) -Wall -W -D__EXTENSIONS__ -D_XPG6
CCLINK?= -ldl -lnsl -lsocket -lm -lpthread CCLINK?= -ldl -lnsl -lsocket -lm -lpthread
DEBUG?= -g -ggdb
else else
CFLAGS?= -std=c99 -pedantic $(OPTIMIZATION) -Wall -W $(ARCH) $(PROF) CFLAGS?= -std=c99 -pedantic $(OPTIMIZATION) -Wall -W $(ARCH) $(PROF)
CCLINK?= -lm -pthread CCLINK?= -lm -pthread
DEBUG?= -g -rdynamic -ggdb
endif endif
ifeq ($(USE_TCMALLOC),yes) ifeq ($(USE_TCMALLOC),yes)
...@@ -18,7 +20,6 @@ ifeq ($(USE_TCMALLOC),yes) ...@@ -18,7 +20,6 @@ ifeq ($(USE_TCMALLOC),yes)
CFLAGS+= -DUSE_TCMALLOC CFLAGS+= -DUSE_TCMALLOC
endif endif
CCOPT= $(CFLAGS) $(CCLINK) $(ARCH) $(PROF) CCOPT= $(CFLAGS) $(CCLINK) $(ARCH) $(PROF)
DEBUG?= -g -rdynamic -ggdb
PREFIX= /usr/local PREFIX= /usr/local
INSTALL_BIN= $(PREFIX)/bin INSTALL_BIN= $(PREFIX)/bin
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment