patch-Makefile 568 B

12345678910111213141516171819202122
  1. do not use static linking on Cygwin
  2. --- digitemp-3.6.0.orig/Makefile 2008-08-28 23:37:00.000000000 +0200
  3. +++ digitemp-3.6.0/Makefile 2010-01-06 19:12:56.868375000 +0100
  4. @@ -11,8 +11,8 @@
  5. VERSION = 3.6.0
  6. -CC = gcc
  7. -CFLAGS = -I./src -I./userial -O2 -Wall # -g
  8. +CC ?= gcc
  9. +CFLAGS ?= -I./src -I./userial
  10. OBJS = src/digitemp.o src/device_name.o src/ds2438.o
  11. HDRS = src/digitemp.h src/device_name.h
  12. @@ -57,7 +57,6 @@ endif
  13. ifneq (, $(findstring CYGWIN,$(SYSTYPE)))
  14. CFLAGS += -DCYGWIN
  15. - LIBS += -static -static-libgcc
  16. endif
  17. ifeq ($(SYSTYPE), SunOS)