*** empty log message ***
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@817 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
0f2cf55b17
commit
fc791f3600
11
configure
vendored
11
configure
vendored
@ -2351,7 +2351,11 @@ fi
|
|||||||
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
|
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
|
||||||
echo "${ECHO_T}$ac_cv_target" >&6
|
echo "${ECHO_T}$ac_cv_target" >&6
|
||||||
target=$ac_cv_target
|
target=$ac_cv_target
|
||||||
|
if test "${tcpu+set}" == set; then
|
||||||
|
target_cpu=$tcpu
|
||||||
|
else
|
||||||
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
||||||
|
fi;
|
||||||
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
||||||
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
||||||
|
|
||||||
@ -2402,11 +2406,14 @@ then
|
|||||||
if test "$maxperformance" = "yes"
|
if test "$maxperformance" = "yes"
|
||||||
then
|
then
|
||||||
case "$target_cpu" in
|
case "$target_cpu" in
|
||||||
|
athlon)
|
||||||
|
CFLAGS="-march=athlon $CFLAGS"
|
||||||
|
;;
|
||||||
i686*)
|
i686*)
|
||||||
CFLAGS="-march=pentiumpro $CFLAGS"
|
CFLAGS="-march=i686 $CFLAGS"
|
||||||
;;
|
;;
|
||||||
i586*)
|
i586*)
|
||||||
CFLAGS="-march=pentium $CFLAGS"
|
CFLAGS="-march=i586 $CFLAGS"
|
||||||
;;
|
;;
|
||||||
i486*)
|
i486*)
|
||||||
CFLAGS="-march=i486 $CFLAGS"
|
CFLAGS="-march=i486 $CFLAGS"
|
||||||
|
@ -3,7 +3,7 @@ Summary: Prolog Compiler
|
|||||||
Version: 4.5.0
|
Version: 4.5.0
|
||||||
Packager: Vitor Santos Costa <vitor@cos.ufrj.br>
|
Packager: Vitor Santos Costa <vitor@cos.ufrj.br>
|
||||||
Release: 1
|
Release: 1
|
||||||
Source: http://www.ncc.up.pt/~vsc/Yap/Yap4.3/%{name}-%{version}.tar.gz
|
Source: http://www.ncc.up.pt/~vsc/Yap/%{name}-%{version}.tar.gz
|
||||||
Copyright: Perl Artistic License
|
Copyright: Perl Artistic License
|
||||||
Provides: yap
|
Provides: yap
|
||||||
Requires: readline
|
Requires: readline
|
||||||
@ -25,7 +25,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure --prefix=/usr --enable-coroutining
|
./configure --prefix=/usr --enable-coroutining --enable-max-performance
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Reference in New Issue
Block a user