Permalink
Browse files

Solaris doesn't support -rdynamic

  • Loading branch information...
1 parent 71b6f64 commit 736d447380f5d7b2d6376b243ad107f79c0df7a2 @pietern pietern committed Dec 23, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/Makefile
View
@@ -8,17 +8,18 @@ OPTIMIZATION?=-O2
ifeq ($(uname_S),SunOS)
CFLAGS?= -std=c99 -pedantic $(OPTIMIZATION) -Wall -W -D__EXTENSIONS__ -D_XPG6
CCLINK?= -ldl -lnsl -lsocket -lm -lpthread
+ DEBUG?= -g -ggdb
else
CFLAGS?= -std=c99 -pedantic $(OPTIMIZATION) -Wall -W $(ARCH) $(PROF)
CCLINK?= -lm -pthread
+ DEBUG?= -g -rdynamic -ggdb
endif
ifeq ($(USE_TCMALLOC),yes)
CCLINK+= -ltcmalloc
CFLAGS+= -DUSE_TCMALLOC
endif
CCOPT= $(CFLAGS) $(CCLINK) $(ARCH) $(PROF)
-DEBUG?= -g -rdynamic -ggdb
PREFIX= /usr/local
INSTALL_BIN= $(PREFIX)/bin

0 comments on commit 736d447

Please sign in to comment.