From 5f00a9ca40c3e4e023965c30a129a59fcb8ffcf7 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Tue, 25 Mar 2014 01:30:10 +0400 Subject: [PATCH] make: config -- Allow to pass libraries in try-cc For libbsd testing. Signed-off-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov --- scripts/utilities.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utilities.mak b/scripts/utilities.mak index fd6a4429c..d1b68faa5 100644 --- a/scripts/utilities.mak +++ b/scripts/utilities.mak @@ -3,5 +3,5 @@ try-cc = $(shell sh -c \ 'TMP="$(OUTPUT)$(TMPOUT).$$$$"; \ echo "$(1)" | \ - $(CC) $(DEFINES) -x c - $(2) -o "$$TMP" > /dev/null 2>&1 && echo y; \ + $(CC) $(DEFINES) -x c - $(2) $(3) -o "$$TMP" > /dev/null 2>&1 && echo y; \ rm -f "$$TMP"')