Skip to content

Commit

Permalink
Remove unused libraries from link flags
Browse files Browse the repository at this point in the history
  • Loading branch information
pietern committed Jun 18, 2011
1 parent d7dc9ca commit 8ee6308
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
OPTIMIZATION?=-O3
ifeq ($(uname_S),SunOS)
CFLAGS?=$(OPTIMIZATION) -fPIC -Wall -W -D__EXTENSIONS__ -D_XPG6 $(ARCH) $(PROF)
CCLINK?=-ldl -lnsl -lsocket -lm -lpthread
CCLINK?=-ldl -lnsl -lsocket
LDFLAGS?=-L.
DYLIBSUFFIX=so
STLIBSUFFIX=a
Expand All @@ -30,7 +30,7 @@ ifeq ($(uname_S),SunOS)
else
ifeq ($(uname_S),Darwin)
CFLAGS?=$(OPTIMIZATION) -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings $(ARCH) $(PROF)
CCLINK?=-lm -pthread
CCLINK?=
LDFLAGS?=-L.
OBJARCH?=-arch i386 -arch x86_64
DYLIBSUFFIX=dylib
Expand All @@ -44,7 +44,7 @@ ifeq ($(uname_S),Darwin)
INSTALL= cp -a
else
CFLAGS?=$(OPTIMIZATION) -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings $(ARCH) $(PROF)
CCLINK?=-lm -pthread
CCLINK?=
LDFLAGS?=-L.
DYLIBSUFFIX=so
STLIBSUFFIX=a
Expand Down

0 comments on commit 8ee6308

Please sign in to comment.