summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_socket.c
diff options
context:
space:
mode:
authorsimonb <simonb@NetBSD.org>2008-04-29 07:48:31 +0000
committersimonb <simonb@NetBSD.org>2008-04-29 07:48:31 +0000
commit71a4269193c9bd7084f8a2a32c8c9fb4b15e1016 (patch)
treedfd73330fd7dd18aff9baa8d5eda0a8e0388673d /sys/compat/linux/common/linux_socket.c
parent3028e483e4ef836741029ab781da4462ae95176b (diff)
Use -nodefaultlibs instead of -nostdlib when linking libc and libgcc*
so that we still link in the crt* start/end files. Explicitly link libc against gcc_pic, since -nodefaultlibs undoes this. Fixes problems where shared libraries don't get init/fini sections, most easily noticable with pthreads programs not working. Approved by: skrll Thanks: bjs, mrg, icb peanut gallery.
Diffstat (limited to 'sys/compat/linux/common/linux_socket.c')
0 files changed, 0 insertions, 0 deletions