patch-Makefile 500 B

12345678910111213141516
  1. allow CC override
  2. allow CFLAGS enhancement
  3. --- mISDNuser-1_1_9.orig/Makefile 2009-01-21 18:06:34.000000000 +0100
  4. +++ mISDNuser-1_1_9/Makefile 2011-07-11 17:14:13.425001831 +0200
  5. @@ -28,7 +28,10 @@ export INCLUDEDIR
  6. LIBDIR=/usr/lib
  7. export LIBDIR
  8. -CFLAGS:= -g -Wall -I $(INCLUDEDIR) -I $(MISDNINCLUDEDIR)
  9. +CC ?= gcc
  10. +export CC
  11. +
  12. +CFLAGS+= -g -Wall -I $(INCLUDEDIR) -I $(MISDNINCLUDEDIR)
  13. CFLAGS+= -D CLOSE_REPORT=1
  14. #disable this if your system does not support PIC (position independent code)