build.patch 961 B

1234567891011121314151617181920212223
  1. --- fwupdate-9/efi/Makefile~ 2017-03-06 20:36:55.000000000 +0000
  2. +++ fwupdate-9/efi/Makefile 2017-05-12 18:10:02.737950709 +0000
  3. @@ -14,7 +14,7 @@
  4. -Wl,--no-undefined -Wl,--fatal-warnings \
  5. -Wl,-shared -Wl,-Bsymbolic -L$(LIBDIR) -L$(GNUEFIDIR) \
  6. -Wl,--build-id=sha1 -Wl,--hash-style=sysv \
  7. - $(GNUEFIDIR)/crt0-efi-$(ARCH).o
  8. + $(GNUEFIDIR)/crt0-efi-$(ARCH).o
  9. OBJCOPY_GTE224 = $(shell expr `$(OBJCOPY) --version |grep ^"GNU objcopy" | sed 's/^[^0-9]*//g' | cut -f1-2 -d.` \>= 2.24)
  10. FWUP = fwupdate
  11. --- fwupdate-9/linux/Makefile~ 2017-03-06 20:36:55.000000000 +0000
  12. +++ fwupdate-9/linux/Makefile 2017-05-12 20:39:51.049592296 +0000
  13. @@ -29,7 +29,7 @@
  14. PKLIBS += libsmbios_c
  15. CFLAGS += -DFWUPDATE_HAVE_LIBSMBIOS__
  16. endif
  17. -BUILDFLAGS := $(CFLAGS) -Wall -Wextra -Werror -Wno-error=cpp \
  18. +BUILDFLAGS := $(CFLAGS) -Wall -Wextra -Wno-error=cpp \
  19. -Wno-unused-result -Wno-unused-function \
  20. -Wsign-compare -Werror=sign-compare \
  21. -fshort-wchar --std=gnu11 \