diff options
author | Damien Zammit <damien@zamaudio.com> | 2021-11-08 20:25:17 +1100 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2023-06-23 23:59:50 +1000 |
commit | 9a8d64030e37645178ae64e97f34bdef7bd57ac4 (patch) | |
tree | 09fc1e4fe338829de3a498566510af7676f7af28 | |
parent | 16b0a51be3384497e6b02e864f0718d0abd928c9 (diff) |
rules: Don't fail on unused variable in rump
-rwxr-xr-x | debian/rules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index d72bb399..2235be48 100755 --- a/debian/rules +++ b/debian/rules @@ -13,7 +13,7 @@ CFLAGS ?= $(shell dpkg-buildflags --get CFLAGS) $(HOST_CFLAGS) \ -Wno-error=array-parameter \ -Wno-error=stringop-overflow \ -D_FILE_OFFSET_BITS=64 \ - -Wno-error=address-of-packed-member + ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) @@ -41,7 +41,7 @@ override_dh_auto_build-arch: ./build.sh \ -V TOOLS_BUILDRUMP=yes -V MKGROFF=no -V TOPRUMP="$(CURDIR)/buildrump.sh/src/sys/rump" \ -V BUILDRUMP_CPPFLAGS="-Wno-error=stringop-overread" \ - -V CWARNFLAGS="-Wno-error=maybe-uninitialized" \ + -V CWARNFLAGS="-Wno-error=maybe-uninitialized -Wno-error=address-of-packed-member -Wno-error=unused-variable" \ -V LIBCRTBEGIN=" " -V LIBCRTEND=" " -V LIBCRT0=" " -V LIBCRTI=" " \ -V _GCC_CRTENDS=" " -V _GCC_CRTEND=" " \ -V _GCC_CRTBEGINS=" " -V _GCC_CRTBEGIN=" " \ |