summaryrefslogtreecommitdiffstats
path: root/lib/libc/gdtoa
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-01-11 10:42:47 +0000
committerru <ru@FreeBSD.org>2004-01-11 10:42:47 +0000
commit2ca5a258fdae73d1c18c0b460ef971a048d5b457 (patch)
tree6b5723c7628cab323c2f1906b55fd3f6b5de65a0 /lib/libc/gdtoa
parentb10112e3d11f879afddde834c51c190d019f5a78 (diff)
downloadFreeBSD-src-2ca5a258fdae73d1c18c0b460ef971a048d5b457.zip
FreeBSD-src-2ca5a258fdae73d1c18c0b460ef971a048d5b457.tar.gz
Replaced an ugly hack to selectively disable warnings
in contributed sources with just a hack made possible by bsd.sys.mk,v 1.33. This is better because it just nulls out the warning flags rather than adding gcc(1) specific -w option to CFLAGS.
Diffstat (limited to 'lib/libc/gdtoa')
-rw-r--r--lib/libc/gdtoa/Makefile.inc3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libc/gdtoa/Makefile.inc b/lib/libc/gdtoa/Makefile.inc
index a90dc54..2622a81 100644
--- a/lib/libc/gdtoa/Makefile.inc
+++ b/lib/libc/gdtoa/Makefile.inc
@@ -19,6 +19,3 @@ CLEANFILES+=gdtoa_${src}
gdtoa_${src}:
ln -sf ${.CURDIR}/../../contrib/gdtoa/${src} ${.TARGET}
.endfor
-
-# XXX An ugly hack to disable warnings for gdtoa sources.
-CWARNFLAGS+= ${.IMPSRC:Mgdtoa_*.c:C/^.+$/-w/}
OpenPOWER on IntegriCloud