From 6afdf3ae1b8c3cc03c5f561aab86b17ffce19284 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 1 Mar 2019 11:20:23 +0300 Subject: Make use of '\n' regex substitution escape sequence in libcrypto buildfile --- libcrypto/libcrypto/buildfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/libcrypto/libcrypto/buildfile b/libcrypto/libcrypto/buildfile index ef00ff3..b8503a1 100644 --- a/libcrypto/libcrypto/buildfile +++ b/libcrypto/libcrypto/buildfile @@ -176,14 +176,8 @@ cflags = for f: $c.poptions $c.coptions cflags += $regex.replace($f, '(\\|")', '\\\1') -# @@ Get rid of this when we add support for '\n' in regex substitution alone -# '\1', etc. -# -nl=' -' - h{buildinf-body}: in{buildinf-body} -h{buildinf-body}: cflags = $regex.merge($cflags, '(.+)', "$nl \" \\1\"") +h{buildinf-body}: cflags = $regex.merge($cflags, '(.+)', '\n " \1"') # Note that we have to add "-I$src_root" for the headers auto-generating # machinery to work properly. -- cgit v1.1