summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/libopcodes
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-06-16 07:09:44 +0000
committerobrien <obrien@FreeBSD.org>2004-06-16 07:09:44 +0000
commitc15b182a8c9d192b8bd7b065d50f26fdc66e57bb (patch)
tree1d994d80dc9d835f3cdaf765535ae861867b19c9 /gnu/usr.bin/binutils/libopcodes
parent77e70076440e09568096be35d7dee1a7d58373bc (diff)
downloadFreeBSD-src-c15b182a8c9d192b8bd7b065d50f26fdc66e57bb.zip
FreeBSD-src-c15b182a8c9d192b8bd7b065d50f26fdc66e57bb.tar.gz
Updated Bmake framework for Binutils 2.15.
Diffstat (limited to 'gnu/usr.bin/binutils/libopcodes')
-rw-r--r--gnu/usr.bin/binutils/libopcodes/Makefile3
-rw-r--r--gnu/usr.bin/binutils/libopcodes/config.h11
2 files changed, 3 insertions, 11 deletions
diff --git a/gnu/usr.bin/binutils/libopcodes/Makefile b/gnu/usr.bin/binutils/libopcodes/Makefile
index 053245f..f740e86 100644
--- a/gnu/usr.bin/binutils/libopcodes/Makefile
+++ b/gnu/usr.bin/binutils/libopcodes/Makefile
@@ -5,7 +5,8 @@
.PATH: ${SRCDIR}/opcodes
LIB= opcodes
-SRCS+= dis-buf.c disassemble.c
+SRCS+= dis-buf.c dis-init.c disassemble.c
+CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${SRCDIR}/opcodes -I${SRCDIR}/bfd
INTERNALLIB= true
diff --git a/gnu/usr.bin/binutils/libopcodes/config.h b/gnu/usr.bin/binutils/libopcodes/config.h
index eaa10ed..9ad1fc8 100644
--- a/gnu/usr.bin/binutils/libopcodes/config.h
+++ b/gnu/usr.bin/binutils/libopcodes/config.h
@@ -28,9 +28,6 @@
/* Define to `long' if <sys/types.h> doesn't define. */
/* #undef off_t */
-/* Define if you need to in order for stat and other things to work. */
-/* #undef _POSIX_SOURCE */
-
/* Define to `unsigned' if <sys/types.h> doesn't define. */
/* #undef size_t */
@@ -112,12 +109,6 @@
/* Define if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1
-/* Define if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
@@ -128,7 +119,7 @@
#define PACKAGE "opcodes"
/* Version number of package */
-/* #define VERSION "2.13.2" */
+/* #define VERSION "2.15" */
/* Define if you have the stpcpy function */
#define HAVE_STPCPY 1
OpenPOWER on IntegriCloud