util/superiotool: alter Makefile to build the binary on FreeBSD

Change-Id: Ia96bee18abcdf278ae9178471cd4af2de454facf
Signed-off-by: Idwer Vollering <vidwer@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37768
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Idwer Vollering 2019-12-16 15:39:00 +01:00 committed by Felix Held
parent b5b8a7d540
commit 7abc037da4
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ export LIBPCI_TEST
pciutils: pciutils:
@printf "\nChecking for pciutils and zlib... " @printf "\nChecking for pciutils and zlib... "
@echo "$$LIBPCI_TEST" > .test.c @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 "found.\n" || ( printf "not found.\n\n"; \
printf "Please install pciutils-devel and zlib-devel.\n"; \ printf "Please install pciutils-devel and zlib-devel.\n"; \
printf "See README for more information.\n\n"; \ printf "See README for more information.\n\n"; \