PERFORCE change 30617 for review
    Peter Wemm 
    peter at FreeBSD.org
       
    Mon May  5 13:15:27 PDT 2003
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=30617
Change 30617 by peter at peter_daintree on 2003/05/05 13:14:59
	hack.  amd64-unknown-freebsd isn't a valid binutils/bfd target.
Affected files ...
.. //depot/projects/hammer/gnu/usr.bin/binutils/libbinutils/Makefile#3 edit
Differences ...
==== //depot/projects/hammer/gnu/usr.bin/binutils/libbinutils/Makefile#3 (text+ko) ====
@@ -9,7 +9,12 @@
 	ieee.c rdcoff.c rddbg.c rename.c stabs.c unwind-ia64.c \
 	wrstabs.c version.c binemul.c budemang.c emul_vanilla.c
 WARNS=	0
-CFLAGS+= -DTARGET=\"${TARGET_ARCH}-unknown-freebsd\"
+.if ${TARGET_ARCH} == "amd64"
+BINUTILS_ARCH=x86_64
+.else
+BINUTILS_ARCH=${TARGET_ARCH}
+.endif
+CFLAGS+= -DTARGET=\"${BINUTILS_ARCH}-unknown-freebsd\"
 CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
 CFLAGS+= -I${SRCDIR}/binutils
 CFLAGS+= -I${SRCDIR}/bfd
    
    
More information about the p4-projects
mailing list