From 3b8140403933688eb18bac6d91bc231ad1beffc1 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sat, 15 Feb 1997 16:14:52 +0000 Subject: [PATCH] Don't use the private version of vasprintf(). It doesn't understand "%%" in format strings and tends to dump core for "%%st". I needed "%%st" to fix the new gdb ... Don't use the private version of strerror() either. Use INTERNALLIB and INTERNALSTATICLIB instead of a private install rules NOPROFILE and NOPIC. This is only slightly cleaner. INTERNALLIB was previously only used in compatibility libraries (libgnumalloc etc.) and INTERNALSTATICLIB was previously unused. INTERNAL*LIB probably should be replaced by something like NOSTATICO together with NO{STATICO,PROFILE,PIC}INSTALL. --- gnu/usr.bin/gdb/libiberty/Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/gnu/usr.bin/gdb/libiberty/Makefile b/gnu/usr.bin/gdb/libiberty/Makefile index d3128986279..d4330761707 100644 --- a/gnu/usr.bin/gdb/libiberty/Makefile +++ b/gnu/usr.bin/gdb/libiberty/Makefile @@ -1,18 +1,15 @@ LIB= iberty +INTERNALLIB= true +INTERNALSTATICLIB= true GDBDIR= ${.CURDIR}/../../../../contrib/gdb .PATH: ${GDBDIR}/libiberty SRCS= argv.c basename.c concat.c cplus-dem.c fdmatch.c getopt.c \ - getopt1.c getruntime.c hex.c floatformat.c obstack.c spaces.c \ - strerror.c strsignal.c vasprintf.c xatexit.c xexit.c \ + getopt1.c getruntime.c hex.c obstack.c spaces.c \ + strsignal.c xatexit.c xexit.c \ xmalloc.c xstrdup.c xstrerror.c insque.c CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../gdb/. -NOPROFILE=no -NOPIC=no - -install: - @echo -n .include -- 2.45.2