summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xutil/mkbuildinf.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/mkbuildinf.pl b/util/mkbuildinf.pl
index ffa8a39933..b880c7f226 100755
--- a/util/mkbuildinf.pl
+++ b/util/mkbuildinf.pl
@@ -17,8 +17,9 @@ print <<"END_OUTPUT";
END_OUTPUT
my $ctr = 0;
foreach my $c (split //, $cflags) {
+ $c =~ s|([\\'])|\\$1|;
# Max 18 characters per line
- if (($ctr++ % 18) == 0) {
+ if (($ctr++ % 16) == 0) {
if ($ctr != 1) {
print "\n";
}