Date: Fri, 7 Dec 2001 19:02:25 +0100 (CET) From: Espen Skoglund <esk@ira.uka.de> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/32584: Maintainer fix: devel/arm-elf-gcc295 Message-ID: <200112071802.fB7I2P752490@i30nb20.ira.uka.de>
next in thread | raw e-mail | index | archive | help
>Number: 32584 >Category: ports >Synopsis: Maintainer fix: devel/arm-elf-gcc295 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Dec 07 10:10:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Espen Skoglund >Release: FreeBSD 4.4-STABLE i386 >Organization: Karlsruhe University >Environment: >Description: The devel/arm-elf-gcc295 port will put -march=CPU into the CFLAGS if CPUTYPE is defined in /etc/make.conf. This causes cross compilation to fail. There's a fix below that removes the argument from the CFLAGS. I'm wondering if this is the best way to cope with it? Are there better solutions? >How-To-Repeat: >Fix: --- Makefile.orig Fri Dec 7 18:45:58 2001 +++ Makefile Fri Dec 7 18:45:39 2001 @@ -26,6 +26,7 @@ GCC_REV= ${DISTNAME:S/gcc-//g} PLIST_SUB+= GCC_REV=${GCC_REV} USE_BZIP2= yes +CFLAGS:= ${CFLAGS:C/-m(arch|cpu)=[a-zA-Z0-9]+//} CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//} --enable-languages="c,c++,objc" .if defined(DEFAULT_CPU) CONFIGURE_ARGS+= --with-cpu="${DEFAULT_CPU}" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112071802.fB7I2P752490>