001-respect-cflags.patch 744 B

12345678910111213141516171819202122
  1. diff --git a/core/Makefile b/core/Makefile
  2. index 6133087..389855c 100644
  3. --- a/core/Makefile
  4. +++ b/core/Makefile
  5. @@ -3,7 +3,7 @@ DESTDIR ?=
  6. LIBDIR ?= /usr/lib
  7. #IRSSI_INCLUDE:=/home/phh/irssi-0.8.16-rc1.phh/
  8. -IRSSI_INCLUDE:=/usr/include/irssi/
  9. +IRSSI_INCLUDE?=/usr/include/irssi/
  10. IRSSI_LIB?=$(DESTDIR)/$(LIBDIR)/irssi
  11. IRSSI_CFLAGS+=-I$(IRSSI_INCLUDE)/src/
  12. IRSSI_CFLAGS+=-I$(IRSSI_INCLUDE)/src/core/
  13. @@ -26,7 +26,7 @@ else
  14. LDFLAGS += -lquasselc
  15. endif
  16. -CFLAGS=-std=gnu11 -Wall -Wextra -Werror -g -O2 $(IRSSI_CFLAGS) $(QUASSELC_FLAGS) -Wmissing-prototypes -Wmissing-declarations
  17. +CFLAGS+=-std=gnu11 -Wall -Wextra -Werror -g $(IRSSI_CFLAGS) $(QUASSELC_FLAGS) -Wmissing-prototypes -Wmissing-declarations
  18. TARGET=libquassel_core.so