bc738ff
Patch by Robert Scheck <robert@fedoraproject.org> for digitemp >= 3.6.0,
bc738ff
which forces the use of $RPM_OPT_FLAGS to have a usable -debuginfo package.
bc738ff
bc738ff
--- digitemp-3.6.0/Makefile		2008-08-28 23:37:00.000000000 +0200
bc738ff
+++ digitemp-3.6.0/Makefile.cflags	2009-01-25 20:49:03.000000000 +0100
bc738ff
@@ -12,7 +12,7 @@
bc738ff
 VERSION = 3.6.0
bc738ff
 
bc738ff
 CC	= gcc
bc738ff
-CFLAGS	= -I./src -I./userial -O2 -Wall # -g
bc738ff
+CFLAGS	= -I./src -I./userial -O2 -Wall $(RPM_OPT_FLAGS) # -g
bc738ff
 
bc738ff
 OBJS		=	src/digitemp.o src/device_name.o src/ds2438.o
bc738ff
 HDRS		= 	src/digitemp.h src/device_name.h