summaryrefslogtreecommitdiffstats
path: root/lib/libutil/Makefile
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2000-10-27 01:19:02 +0000
committergreen <green@FreeBSD.org>2000-10-27 01:19:02 +0000
commit4873d87d0313bcc3d9a31353fd591030e246cf2f (patch)
treeadf27c85608039ef2dd105e501755589c140febc /lib/libutil/Makefile
parentf05284397ec89629b21217f6251a1d84737169f8 (diff)
downloadFreeBSD-src-4873d87d0313bcc3d9a31353fd591030e246cf2f.zip
FreeBSD-src-4873d87d0313bcc3d9a31353fd591030e246cf2f.tar.gz
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.
Diffstat (limited to 'lib/libutil/Makefile')
-rw-r--r--lib/libutil/Makefile2
1 files changed, 1 insertions, 1 deletions
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 \
OpenPOWER on IntegriCloud