* dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Use this instead of

LDFLAGS.  Add -lgcc_eh and libc_nonshared (again) to make sure we
	get the __stack_chk_fail_local definition when it's needed.
This commit is contained in:
Ulrich Drepper 2006-07-28 19:57:56 +00:00
parent 6de1f62588
commit 6822f05652
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2006-07-28 Ulrich Drepper <drepper@redhat.com>
* dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Use this instead of
LDFLAGS. Add -lgcc_eh and libc_nonshared (again) to make sure we
get the __stack_chk_fail_local definition when it's needed.
2006-07-26 Ulrich Drepper <drepper@redhat.com>
* dlfcn/Makefile: Add rules to build and run bug-atexit3.

View File

@ -136,7 +136,7 @@ $(objpfx)bug-atexit2.out: $(objpfx)bug-atexit2-lib.so
$(objpfx)bug-atexit2-lib.so: $(common-objpfx)libc.so \
$(common-objpfx)libc_nonshared.a
LDFLAGS-bug-atexit3-lib.so = -lstdc++
LDLIBS-bug-atexit3-lib.so = -lstdc++ -lgcc_eh $(common-objpfx)libc_nonshared.a
$(objpfx)bug-atexit3: $(libdl)
$(objpfx)bug-atexit3.out: $(objpfx)bug-atexit3-lib.so
$(objpfx)bug-atexit3-lib.so: $(common-objpfx)libc.so \