diff options
author | John Baldwin <jhb@FreeBSD.org> | 2025-01-11 04:02:46 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2025-01-11 04:03:32 +0000 |
commit | f6f5aa8a2df5910b0769ab7cd0e6199c9b2ab624 (patch) | |
tree | ffc6366a45154a9ebdd92f487ec06512cba4e06d | |
parent | 8e4535ee5870b76f97f6d33a05e9979dcb75c185 (diff) |
stand/usb: Quiet warnings so this builds again
Reviewed by: markj, emaste
Differential Revision: https://reviews.freebsd.org/D48411
-rw-r--r-- | stand/usb/Makefile | 2 | ||||
-rw-r--r-- | stand/usb/test/Makefile | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/stand/usb/Makefile b/stand/usb/Makefile index 0a1c9e0022ee..a9c20fc340ad 100644 --- a/stand/usb/Makefile +++ b/stand/usb/Makefile @@ -35,7 +35,7 @@ INTERNALLIB= CFLAGS+= -DBOOTPROG=\"usbloader\" CFLAGS+= -ffunction-sections -fdata-sections -CFLAGS+= -Wformat -Wall +CFLAGS+= -Wformat -Wall -Wno-unused CFLAGS+= -g CFLAGS+= -fno-pic diff --git a/stand/usb/test/Makefile b/stand/usb/test/Makefile index 74e501a39ae7..d92ef6dddecb 100644 --- a/stand/usb/test/Makefile +++ b/stand/usb/test/Makefile @@ -35,6 +35,7 @@ PROG= usbloader SRCS= CFLAGS+= -Wall +CFLAGS+= -Wno-error=missing-prototypes -Wno-error=unused-parameter CFLAGS+= -g .if ${MACHINE_CPUARCH} == "amd64" |