Skip to content

Commit 20a19b8

Browse files
committed
Suppress errors from config-test-flags macro.
1 parent d69a6d9 commit 20a19b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ pkg-select-ab = $\
3030
config-test-flag = $\
3131
$(if $(wildcard $(1).aok)$(wildcard $(1).bok),, \
3232
$(info Checking if we need $(2)...) \
33-
$(shell $(CXX) $(CXXFLAGS) -o $(1).aok $(1) $(LDFLAGS) $(LDLIBS) > /dev/null) \
34-
$(shell $(CXX) $(CXXFLAGS) -o $(1).bok $(1) $(LDFLAGS) $(LDLIBS) $(2) > /dev/null) \
33+
$(shell $(CXX) $(CXXFLAGS) -o $(1).aok $(1) $(LDFLAGS) $(LDLIBS) > /dev/null 2>&1) \
34+
$(shell $(CXX) $(CXXFLAGS) -o $(1).bok $(1) $(LDFLAGS) $(LDLIBS) $(2) > /dev/null 2>&1) \
3535
$(if $(wildcard $(1).aok),$(info No),$(if $(wildcard $(1).bok),$(info Yes),)) \
3636
) \
3737
$(if $(wildcard $(1).aok),,$(if $(wildcard $(1).bok),$(2),))

0 commit comments

Comments
 (0)