patch-Makefile 802 B

1234567891011121314151617181920212223
  1. --- libpri-1.4.12.orig/Makefile 2011-02-01 01:37:49.000000000 +0100
  2. +++ libpri-1.4.12/Makefile 2012-07-25 12:46:12.000000000 +0200
  3. @@ -28,8 +28,8 @@ CC=gcc
  4. GREP=grep
  5. AWK=awk
  6. -OSARCH=$(shell uname -s)
  7. -PROC?=$(shell uname -m)
  8. +OSARCH=Linux
  9. +PROC?=$(ARCH)
  10. # SONAME version; should be changed on every ABI change
  11. # please don't change it needlessly; it's perfectly fine to have a SONAME
  12. @@ -90,7 +90,8 @@ DYNAMIC_OBJS= \
  13. rose_qsig_mwi.lo \
  14. rose_qsig_name.lo \
  15. version.lo
  16. -CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_OPT) $(COVERAGE_CFLAGS)
  17. +CFLAGS?=
  18. +CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_OPT) $(COVERAGE_CFLAGS)
  19. INSTALL_PREFIX=$(DESTDIR)
  20. INSTALL_BASE=/usr
  21. libdir?=$(INSTALL_BASE)/lib