1672f9a
Patch by Robert Scheck <robert@fedoraproject.org> for digitemp >= 3.5.0,
1672f9a
which forces the use of $RPM_OPT_FLAGS to have a usable -debuginfo package.
1672f9a
1672f9a
--- digitemp-3.5.0/Makefile		2007-01-01 19:47:02.000000000 +0100
1672f9a
+++ digitemp-3.5.0/Makefile.cflags	2007-01-07 03:43:45.000000000 +0100
1672f9a
@@ -13,7 +13,7 @@
1672f9a
 
1672f9a
 
1672f9a
 CC	= gcc
1672f9a
-CFLAGS	= -I./src -I./userial -O2 # -g -Wall
1672f9a
+CFLAGS	= -I./src -I./userial $(RPM_OPT_FLAGS)
1672f9a
 LIBS	= -lm
1672f9a
 
1672f9a
 OBJS		=	src/digitemp.o src/device_name.o