PERFORCE change 219776 for review
Bjoern A. Zeeb
bz at FreeBSD.org
Wed Nov 14 01:07:12 UTC 2012
http://p4web.freebsd.org/@@219776?ac=10
Change 219776 by bz at bz_zenith on 2012/11/14 01:06:55
Disabled the need for -lm (floating point).
Due to time constraints use the hammer and also do in the header
file; should be resolved properly in a few hours.
Affected files ...
.. //depot/projects/ctsrd/cheribsd/src/ctsrd-lib/libvuln_png/Makefile#2 edit
.. //depot/projects/ctsrd/cheribsd/src/ctsrd-lib/libvuln_png/pngconf.h#2 edit
Differences ...
==== //depot/projects/ctsrd/cheribsd/src/ctsrd-lib/libvuln_png/Makefile#2 (text+ko) ====
@@ -28,4 +28,6 @@
# Disable the stack protector, we want to be vulnerable
SSP_CFLAGS=
+CFLAGS+= -DPNG_NO_FLOATING_POINT_SUPPORTED
+
.include <bsd.lib.mk>
==== //depot/projects/ctsrd/cheribsd/src/ctsrd-lib/libvuln_png/pngconf.h#2 (text+ko) ====
@@ -53,6 +53,7 @@
# endif
#endif
+#define PNG_NO_FLOATING_POINT_SUPPORTED
#ifndef PNG_NO_FLOATING_POINT_SUPPORTED
# ifndef PNG_FLOATING_POINT_SUPPORTED
# define PNG_FLOATING_POINT_SUPPORTED
More information about the p4-projects
mailing list