From 7abc037da4f173755c7b303b42336b7eb605ae62 Mon Sep 17 00:00:00 2001 From: Idwer Vollering Date: Mon, 16 Dec 2019 15:39:00 +0100 Subject: util/superiotool: alter Makefile to build the binary on FreeBSD Change-Id: Ia96bee18abcdf278ae9178471cd4af2de454facf Signed-off-by: Idwer Vollering Reviewed-on: https://review.coreboot.org/c/coreboot/+/37768 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- util/superiotool/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile index 2bc88aba64..32f468366d 100644 --- a/util/superiotool/Makefile +++ b/util/superiotool/Makefile @@ -103,7 +103,7 @@ export LIBPCI_TEST pciutils: @printf "\nChecking for pciutils and zlib... " @echo "$$LIBPCI_TEST" > .test.c - @$(CC) $(CFLAGS) .test.c -o .test $(LIBS) >/dev/null 2>&1 && \ + @$(CC) $(CFLAGS) .test.c -o .test $(LIBS) $(LDFLAGS) >/dev/null 2>&1 && \ printf "found.\n" || ( printf "not found.\n\n"; \ printf "Please install pciutils-devel and zlib-devel.\n"; \ printf "See README for more information.\n\n"; \ -- cgit v1.2.3