Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2012 01:08:13 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 219777 for review
Message-ID:  <201211140108.qAE18DfF049882@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@219777?ac=10

Change 219777 by bz@bz_zenith on 2012/11/14 01:08:02

	Move -lm into the amd64 section for now. libvuln_png does not
	need it anymore.

Affected files ...

.. //depot/projects/ctsrd/cheribsd/src/ctsrd/libexec/readpng/Makefile#4 edit

Differences ...

==== //depot/projects/ctsrd/cheribsd/src/ctsrd/libexec/readpng/Makefile#4 (text+ko) ====

@@ -16,12 +16,12 @@
 CFLAGS+=	-I${.CURDIR}/../../../ctsrd-lib/libimagebox
 .if ${MACHINE_ARCH} == "amd64"
 CFLAGS+=	-I/usr/local/include
-LDADD+=		-L/usr/local/lib -lpng
+LDADD+=		-L/usr/local/lib -lpng -lm
 .else
 CFLAGS+=	-I${.CURDIR}/../../libvuln_png
 LDADD+=		-lvuln_png
 .endif
-LDADD+=		-lz -lm
+LDADD+=		-lz
 
 WARNS=	6
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211140108.qAE18DfF049882>