projects
/
libc-test
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
84bd22c
)
glibc wants -lpthread at the end
author
Szabolcs Nagy
<nsz@port70.net>
Fri, 10 Apr 2015 21:17:06 +0000
(21:17 +0000)
committer
Szabolcs Nagy
<nsz@port70.net>
Fri, 10 Apr 2015 21:17:06 +0000
(21:17 +0000)
glibc -lpthread also needs -Wl,--whole-archive but that's a glibc bug
config.mak.def
patch
|
blob
|
history
diff --git
a/config.mak.def
b/config.mak.def
index
49b49c1
..
633fef8
100644
(file)
--- a/
config.mak.def
+++ b/
config.mak.def
@@
-7,5
+7,5
@@
LDLIBS += -lpthread -lm -lrt
# glibc specific settings
CFLAGS += -D_FILE_OFFSET_BITS=64
# glibc specific settings
CFLAGS += -D_FILE_OFFSET_BITS=64
-LDLIBS += -lcrypt -ldl -lresolv -lutil
+LDLIBS += -lcrypt -ldl -lresolv -lutil
-lpthread