summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/gdtoa/Makefile.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/gdtoa/Makefile.inc b/lib/libc/gdtoa/Makefile.inc
index 2622a81..a90dc54 100644
--- a/lib/libc/gdtoa/Makefile.inc
+++ b/lib/libc/gdtoa/Makefile.inc
@@ -19,3 +19,6 @@ 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