diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-05-10 16:14:08 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-05-10 16:14:08 +0000 |
commit | d077e4952475b4d4eb95c5c1298b066e30faa111 (patch) | |
tree | f544fb34e49e353bf75db63355cf162028859746 /usr.bin/size/Makefile | |
parent | c606ee6a29b096ead9a5b55824175725213f4afe (diff) |
Fixes endianess problems with old a.out tools. This makes building
some cross toolchains possible.
This also changes some utilities's behavior slightly:
- nm, strip, size now handle any a.out format they know about.
- ranlib complains if it detects mixed archives (several object
formats for different boxes).
In the presence of mixed objects, you still have file, ranlib or ld
to prevent you from getting too confused...
Diffstat (limited to 'usr.bin/size/Makefile')
-rw-r--r-- | usr.bin/size/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/size/Makefile b/usr.bin/size/Makefile index 20467f578d7..273c3c12b76 100644 --- a/usr.bin/size/Makefile +++ b/usr.bin/size/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 1998/05/11 07:40:30 niklas Exp $ +# $OpenBSD: Makefile,v 1.5 1999/05/10 16:14:07 espie Exp $ TARGET_MACHINE_ARCH?= ${MACHINE_ARCH} @@ -17,6 +17,8 @@ CFLAGS+= -DMID_MACHINE_OVERRIDE=MID_VAX .endif .endif +CFLAGS+= -I${.CURDIR}/../nm + PROG= size .include <bsd.prog.mk> |