You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-GD/GD-2.70-cflags.patch

12 lines
468 B

--- Makefile.PL
+++ Makefile.PL
@@ -259,7 +259,7 @@ print F $DEFINES,"\n";
close F;
my $CCFLAGS = $Config{ccflags};
-$CCFLAGS .= " -Wall -Wextra -Wformat=1" if $Config{gccversion} and $] > 5.020;
+$CCFLAGS .= " -Wall -Wextra" if $Config{gccversion} and $] > 5.020;
# hardened CFLAGS for testing
#$CCFLAGS .= ' -D_GNU_SOURCE -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches';