PERFORCE change 219777 for review

Bjoern A. Zeeb bz at FreeBSD.org
Wed Nov 14 01:08:14 UTC 2012


http://p4web.freebsd.org/@@219777?ac=10

Change 219777 by bz at 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
 


More information about the p4-projects mailing list