Make macro %autogen call %reconfigure
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Mon, 16 Jun 2014 13:49:13 +0000 (15:49 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Mon, 16 Jun 2014 13:49:13 +0000 (15:49 +0200)
In some cases this will end up creatig recipe with two calls to
%reconfigure so, this will need to be addressed in the future in order
to optimize build time.

Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
proto-meta-Tizen_generic/rpm_tizen_macro/lib/tizen_macros

index 14c15f3..b0e444c 100644 (file)
         --infodir=%{_infodir}
 
 %autogen \
-  CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
-  CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
-  FFLAGS="${FFLAGS:-%optflags -I%_fmoddir}" ; export FFLAGS ; \
-  ./autogen.sh --build=%{_build} --host=%{_host} \\\
-        --target=%{_target_platform} \\\
-        --program-prefix=%{?_program_prefix} \\\
-        --prefix=%{_prefix} \\\
-        --exec-prefix=%{_exec_prefix} \\\
-        --bindir=%{_bindir} \\\
-        --sbindir=%{_sbindir} \\\
-        --sysconfdir=%{_sysconfdir} \\\
-        --datadir=%{_datadir} \\\
-        --includedir=%{_includedir} \\\
-        --libdir=%{_libdir} \\\
-        --libexecdir=%{_libexecdir} \\\
-        --localstatedir=%{_localstatedir} \\\
-        --sharedstatedir=%{_sharedstatedir} \\\
-        --mandir=%{_mandir} \\\
-        --infodir=%{_infodir}
+  %reconfigure
 
 
 %makeinstall \