Commit 103b4f2a authored by Emmanuel Bertin's avatar Emmanuel Bertin
Browse files

Added new rpm-best option in Makefile.am.

parent d3931ecf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -20,3 +20,7 @@ rpm-icc: dist
	cp -f $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz $(RPM_SRCDIR)
	USE_ICC="1" rpmbuild -ba --clean --nodeps $(PACKAGE_NAME).spec

rpm-best:	dist
	cp -f $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz $(RPM_SRCDIR)
	USE_BEST="1" rpmbuild -ba --clean --nodeps $(PACKAGE_NAME).spec
+3 −1
Original line number Diff line number Diff line
@@ -23,7 +23,9 @@ SExtractor stands for ``Source Extractor'': a software for making catalog of sou
%setup -q

%build
if test "$USE_ICC"; then
if test "$USE_BEST"; then
%configure --enable-icc --enable-auto-flags --enable-best-link
elif test "$USE_ICC"; then
%configure --enable-icc
else
%configure