diff --git a/gramps2/gramps.spec b/gramps2/gramps.spec index a4ac980bc..930843d29 100644 --- a/gramps2/gramps.spec +++ b/gramps2/gramps.spec @@ -48,7 +48,7 @@ else CFLAGS="$MYCFLAGS" %configure fi -make +CFLAGS="$RPM_OPT_FLAGS" make %install rm -rf $RPM_BUILD_ROOT diff --git a/gramps2/gramps.spec.in b/gramps2/gramps.spec.in index 9c0dac1de..f02a1f3e4 100644 --- a/gramps2/gramps.spec.in +++ b/gramps2/gramps.spec.in @@ -48,7 +48,7 @@ else CFLAGS="$MYCFLAGS" %configure fi -make +CFLAGS="$RPM_OPT_FLAGS" make %install rm -rf $RPM_BUILD_ROOT