summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2011-06-18 15:56:41 +0200
committerPieter Noordhuis <pcnoordhuis@gmail.com>2011-06-18 16:28:57 +0200
commit8ee630875a3d4220a663706826b5345123bd7743 (patch)
treeed4441bb093bde48b619cd7f1a095ff7cf5f5884
parentd7dc9ca7c971686774739bbd789109fc966fbc39 (diff)
Remove unused libraries from link flags
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 598f097..bf64832 100644
--- a/Makefile
+++ b/Makefile
@@ -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
@@ -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
@@ -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