0010-build-Do-not-use-Werror-by-default.patch 907 B

12345678910111213141516171819202122232425262728293031
  1. From 4246fcf2c0c1c6518a5689c8a0ee2662f67c4030 Mon Sep 17 00:00:00 2001
  2. From: Guillem Jover <guillem@hadrons.org>
  3. Date: Sun, 12 Apr 2020 04:00:03 +0200
  4. Subject: [PATCH libaio 10/11] build: Do not use -Werror by default
  5. Using -Werror on a released project is in general not a good idea, as
  6. changes in the toolchain and environment can trigger unexpected build
  7. failures.
  8. Signed-off-by: Guillem Jover <guillem@hadrons.org>
  9. ---
  10. harness/Makefile | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/harness/Makefile b/harness/Makefile
  13. index 5cc2b25..84e03a6 100644
  14. --- a/harness/Makefile
  15. +++ b/harness/Makefile
  16. @@ -6,7 +6,7 @@ PROGS:=$(PARTPROGS) $(EXTRAPROGS)
  17. HARNESS_SRCS:=main.c
  18. # io_queue.c
  19. -CFLAGS+=-Wall -Werror -I../src -g -O2
  20. +CFLAGS+=-Wall -I../src -g -O2
  21. #-lpthread -lrt
  22. # Change this on the build line to run tests against the installed libraries:
  23. --
  24. 2.26.0.292.g33ef6b2f38