From 4044ca9a9c317335c0f730e9417e57343029d3c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= Date: Sat, 12 Jul 2014 15:21:12 +0100 Subject: maint.mk: give projects more flexibilty in set_prog_name arguments * top/maint.mk (sc_program_name): Allow arguments other than argv[0] to be passed to set_program_name(). This is needed by the multicall coreutils program for example. --- top/maint.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'top/maint.mk') diff --git a/top/maint.mk b/top/maint.mk index 0cc769c535..e5a3782921 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -711,7 +711,7 @@ sc_changelog: # Ensure that each .c file containing a "main" function also # calls set_program_name. sc_program_name: - @require='set_program_name *\(m?argv\[0\]\);' \ + @require='set_program_name *\(.*\);' \ in_vc_files='\.c$$' \ containing='\