diff --git a/dmidecode.spec b/dmidecode.spec index 0e71fc4..980a789 100644 --- a/dmidecode.spec +++ b/dmidecode.spec @@ -26,7 +26,7 @@ I/O ports (e.g. serial, parallel, USB). %patch0 -p1 -b .system-family %build -make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" +make %{?_smp_mflags} CFLAGS="%{optflags}" %install make %{?_smp_mflags} DESTDIR=%{buildroot} prefix=%{_prefix} install-bin install-man