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

Added new rpm-best option in Makefile.am.

parent d3931ecf
...@@ -20,3 +20,7 @@ rpm-icc: dist ...@@ -20,3 +20,7 @@ rpm-icc: dist
cp -f $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz $(RPM_SRCDIR) cp -f $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz $(RPM_SRCDIR)
USE_ICC="1" rpmbuild -ba --clean --nodeps $(PACKAGE_NAME).spec 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
...@@ -23,7 +23,9 @@ SExtractor stands for ``Source Extractor'': a software for making catalog of sou ...@@ -23,7 +23,9 @@ SExtractor stands for ``Source Extractor'': a software for making catalog of sou
%setup -q %setup -q
%build %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 %configure --enable-icc
else else
%configure %configure
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment