jolan 2139662653 - update to 20081222
- add dvbt firmware
2008-12-23 00:08:37 +00:00

23 lines
880 B
Plaintext

$OpenBSD: patch-Makefile,v 1.2 2008/12/23 00:08:38 jolan Exp $
--- Makefile.orig Fri Dec 12 16:35:15 2008
+++ Makefile Mon Dec 22 15:50:48 2008
@@ -7,8 +7,8 @@ LIBSRCS += hdhomerun_control.c
LIBSRCS += hdhomerun_video.c
LIBSRCS += hdhomerun_device.c
-CFLAGS += -Wall -O2 -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
-LDFLAGS += -lpthread
+CFLAGS += -Wall -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
+LDFLAGS += -pthread
SHARED = -shared -Wl,-soname,libhdhomerun$(LIBEXT)
ifeq ($(OS),Windows_NT)
@@ -31,7 +31,6 @@ all : hdhomerun_config$(BINEXT) libhdhomerun$(LIBEXT)
hdhomerun_config$(BINEXT) : hdhomerun_config.c $(LIBSRCS)
$(CC) $(CFLAGS) $+ $(LDFLAGS) -o $@
- strip $@
libhdhomerun$(LIBEXT) : $(LIBSRCS)
$(CC) $(CFLAGS) -fPIC -DDLL_EXPORT $(SHARED) $+ $(LDFLAGS) -o $@