diff options
| author | simonb <simonb@NetBSD.org> | 2008-04-29 07:48:31 +0000 |
|---|---|---|
| committer | simonb <simonb@NetBSD.org> | 2008-04-29 07:48:31 +0000 |
| commit | 71a4269193c9bd7084f8a2a32c8c9fb4b15e1016 (patch) | |
| tree | dfd73330fd7dd18aff9baa8d5eda0a8e0388673d /sys/compat/linux/common/linux_socket.c | |
| parent | 3028e483e4ef836741029ab781da4462ae95176b (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
