From 4873d87d0313bcc3d9a31353fd591030e246cf2f Mon Sep 17 00:00:00 2001 From: green Date: Fri, 27 Oct 2000 01:19:02 +0000 Subject: Fix problems people were having with large -O levels with GCC and getting libutil/libcrypt to work properly. I've determined that GCC thinks it can inline all functions, including weak-symboled ones, if it feels like it. Create a new stub.c and move any stubs there to prevent inlining. Thanks to jdp and William S. Duncanson for helping me finally find the problem. --- lib/libutil/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libutil/Makefile') diff --git a/lib/libutil/Makefile b/lib/libutil/Makefile index 70fd9d2..97a3e59 100644 --- a/lib/libutil/Makefile +++ b/lib/libutil/Makefile @@ -9,7 +9,7 @@ CFLAGS+=-DINET6 SRCS= login.c login_tty.c logout.c logwtmp.c pty.c \ login_cap.c login_class.c login_auth.c login_times.c login_ok.c \ login_crypt.c _secure_path.c uucplock.c property.c auth.c \ - realhostname.c fparseln.c + realhostname.c fparseln.c stub.c INCS= libutil.h login_cap.h MAN3+= login.3 login_auth.3 login_tty.3 logout.3 logwtmp.3 pty.3 \ -- cgit v1.1