diff --git a/gpm.spec b/gpm.spec index eda164e..21460e8 100644 --- a/gpm.spec +++ b/gpm.spec @@ -116,10 +116,7 @@ autoreconf -fi CFLAGS="$RPM_OPT_FLAGS -DQUIET_LIBGPM" \ %configure --disable-static \ --sysconfdir=/etc/gpm -%ifarch %arm -make CC="%{__cc} -lm" -%endif -make %{?_smp_mflags} +make CC="%{__cc}" %{?_smp_mflags} %__cc %{optflags} -o inputattach %{SOURCE6} %install