Blob Blame History Raw
Patch by Robert Scheck <robert@fedoraproject.org> for digitemp >= 3.5.0,
which forces the use of $RPM_OPT_FLAGS to have a usable -debuginfo package.

--- digitemp-3.5.0/Makefile		2007-01-01 19:47:02.000000000 +0100
+++ digitemp-3.5.0/Makefile.cflags	2007-01-07 03:43:45.000000000 +0100
@@ -13,7 +13,7 @@
 
 
 CC	= gcc
-CFLAGS	= -I./src -I./userial -O2 # -g -Wall
+CFLAGS	= -I./src -I./userial $(RPM_OPT_FLAGS)
 LIBS	= -lm
 
 OBJS		=	src/digitemp.o src/device_name.o