]> git.pld-linux.org Git - packages/VirtualBox.git/commitdiff
filterout -Werror=format-security for compatibility with gcc7
authorJan Palus <atler@pld-linux.org>
Tue, 14 Nov 2017 15:42:55 +0000 (16:42 +0100)
committerJan Palus <atler@pld-linux.org>
Tue, 14 Nov 2017 15:42:55 +0000 (16:42 +0100)
gcc7 now fails with:
-Wformat -Werror=format-security -Wno-format

VirtualBox.spec

index 44ff5a37f75491b5f59c07d454629ed6b7132626..9951e84f184dfaf69e86ec5cec731ebd0bee8bdf 100644 (file)
@@ -191,6 +191,8 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                outdir          out/%{vbox_platform}/release/bin
 %define                objdir          out/%{vbox_platform}/release/obj
 
 %define                outdir          out/%{vbox_platform}/release/bin
 %define                objdir          out/%{vbox_platform}/release/obj
 
+%define                filterout               -Werror=format-security
+
 %description
 Oracle VirtualBox is a general-purpose full virtualizer for x86
 hardware. Targeted at server, desktop and embedded use, it is now the
 %description
 Oracle VirtualBox is a general-purpose full virtualizer for x86
 hardware. Targeted at server, desktop and embedded use, it is now the
This page took 0.033699 seconds and 4 git commands to generate.