Date: Thu, 15 Jul 2010 02:22:50 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r210101 - head/gnu/usr.bin/dtc Message-ID: <201007150222.o6F2MoNG050840@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marcel Date: Thu Jul 15 02:22:50 2010 New Revision: 210101 URL: http://svn.freebsd.org/changeset/base/210101 Log: Sanitize CFLAGS and add WARNS?=2. The hardcoding of -Os -fPIC as compiler options resulted in an invalid executable on PowerPC. Modified: head/gnu/usr.bin/dtc/Makefile Modified: head/gnu/usr.bin/dtc/Makefile ============================================================================== --- head/gnu/usr.bin/dtc/Makefile Thu Jul 15 01:58:20 2010 (r210100) +++ head/gnu/usr.bin/dtc/Makefile Thu Jul 15 02:22:50 2010 (r210101) @@ -13,7 +13,7 @@ SRCS= dtc.c checks.c fstree.c livetree.c fdt.c fdt_ro.c fdt_rw.c fdt_strerror.c \ fdt_sw.c fdt_wip.c ${DTCVERSIONFILE} -CFLAGS = -Wall -g -Os -fPIC -Wpointer-arith -Wcast-qual +WARNS?= 2 CFLAGS+= -I. -I${.CURDIR} -I${DTCDIR} -I${LIBFDTDIR} VERSIONMAJ!= awk '/^VERSION =/ { print $$3 }' ${DTCDIR}/Makefile
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007150222.o6F2MoNG050840>