Fix default target architecture.
authorSimon Schubert <corecode@dragonflybsd.org>
Mon, 16 Jul 2007 18:25:39 +0000 (18:25 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Mon, 16 Jul 2007 18:25:39 +0000 (18:25 +0000)
Submitted-by: Noah Yan <noah.yan@gmail.com>
gnu/usr.bin/binutils217/libbinutils/Makefile

index 29e8b1b..4696734 100644 (file)
@@ -1,4 +1,4 @@
-# $DragonFly: src/gnu/usr.bin/binutils217/libbinutils/Makefile,v 1.1 2007/04/13 12:24:32 corecode Exp $
+# $DragonFly: src/gnu/usr.bin/binutils217/libbinutils/Makefile,v 1.2 2007/07/16 18:25:39 corecode Exp $
 
 .include "../Makefile.inc0"
 
@@ -10,7 +10,7 @@ SRCS+=        arlex.c arparse.c ar.c arsup.c binemul.c bucomm.c budemang.c debug.c \
        filemode.c ieee.c rdcoff.c rddbg.c rename.c stabs.c unwind-ia64.c \
        wrstabs.c version.c
 WARNS= 0
-CFLAGS+= -DTARGET=\"${TARGET}\"
+CFLAGS+= -DTARGET=\"${TARGET_ARCH}-just-dragonfly\"
 CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
 CFLAGS+= -Dbin_dummy_emulation=bin_vanilla_emulation
 CFLAGS+= -I${SRCDIR}/binutils