summaryrefslogtreecommitdiff
path: root/util/superiotool
diff options
context:
space:
mode:
authorIdwer Vollering <vidwer@gmail.com>2019-12-16 15:39:00 +0100
committerFelix Held <felix-coreboot@felixheld.de>2019-12-26 22:06:18 +0000
commit7abc037da4f173755c7b303b42336b7eb605ae62 (patch)
tree787db5b8aefcbb919f46273e55ee56152be14aea /util/superiotool
parentb5b8a7d540aae3bb1facb07792ac7ff93c78f415 (diff)
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>
Diffstat (limited to 'util/superiotool')
-rw-r--r--util/superiotool/Makefile2
1 files changed, 1 insertions, 1 deletions
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"; \