*** 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
13
configure
vendored
13
configure
vendored
@ -2351,7 +2351,11 @@ fi
|
||||
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
|
||||
echo "${ECHO_T}$ac_cv_target" >&6
|
||||
target=$ac_cv_target
|
||||
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
||||
if test "${tcpu+set}" == set; then
|
||||
target_cpu=$tcpu
|
||||
else
|
||||
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
||||
fi;
|
||||
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
||||
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
||||
|
||||
@ -2402,11 +2406,14 @@ then
|
||||
if test "$maxperformance" = "yes"
|
||||
then
|
||||
case "$target_cpu" in
|
||||
athlon)
|
||||
CFLAGS="-march=athlon $CFLAGS"
|
||||
;;
|
||||
i686*)
|
||||
CFLAGS="-march=pentiumpro $CFLAGS"
|
||||
CFLAGS="-march=i686 $CFLAGS"
|
||||
;;
|
||||
i586*)
|
||||
CFLAGS="-march=pentium $CFLAGS"
|
||||
CFLAGS="-march=i586 $CFLAGS"
|
||||
;;
|
||||
i486*)
|
||||
CFLAGS="-march=i486 $CFLAGS"
|
||||
|
@ -3,7 +3,7 @@ Summary: Prolog Compiler
|
||||
Version: 4.5.0
|
||||
Packager: Vitor Santos Costa <vitor@cos.ufrj.br>
|
||||
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
|
||||
Provides: yap
|
||||
Requires: readline
|
||||
@ -25,7 +25,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
./configure --prefix=/usr --enable-coroutining
|
||||
./configure --prefix=/usr --enable-coroutining --enable-max-performance
|
||||
make
|
||||
|
||||
%install
|
||||
|
Reference in New Issue
Block a user