summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-02-15 16:14:52 +0000
committerbde <bde@FreeBSD.org>1997-02-15 16:14:52 +0000
commit421db166e728c22aaa9ef05b4debae7bde4d5f01 (patch)
tree5de9cbaae2da3fcd572ebd78f782f82061688466 /gnu
parent43616d773f2b0c4ff7ec5401d26fec95cfea5b34 (diff)
downloadFreeBSD-src-421db166e728c22aaa9ef05b4debae7bde4d5f01.zip
FreeBSD-src-421db166e728c22aaa9ef05b4debae7bde4d5f01.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gdb/libiberty/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/gnu/usr.bin/gdb/libiberty/Makefile b/gnu/usr.bin/gdb/libiberty/Makefile
index d312898..d433076 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 <bsd.lib.mk>
OpenPOWER on IntegriCloud