Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 100935 Details for
Bug 153001
jack-audio-connection-kit-0.101.1-r1 ebuild fails in compilation of port.c due to unknown register names
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patches configure.ac to force enabling mmx and sse when dynsimd is enabled. Also ensures MMX and SSE flags will be included even if --enable-optimize is not used.
configure.ac.patch (text/plain), 1.45 KB, created by
Brett T. Warden
on 2006-10-31 17:03:06 UTC
(
hide
)
Description:
Patches configure.ac to force enabling mmx and sse when dynsimd is enabled. Also ensures MMX and SSE flags will be included even if --enable-optimize is not used.
Filename:
MIME Type:
Creator:
Brett T. Warden
Created:
2006-10-31 17:03:06 UTC
Size:
1.45 KB
patch
obsolete
>--- configure.ac.orig 2006-03-27 07:00:27.000000000 -0800 >+++ configure.ac 2006-10-31 16:43:35.000000000 -0800 >@@ -208,6 +208,18 @@ > > elif echo $target_cpu | grep "i.86" >/dev/null; then > >+dnl Check for dynamic SIMD -- implies --enable-mmx and --enable-sse! >+ >+AC_ARG_ENABLE(dynsimd, >+ [ --enable-dynsimd enable dynamic SIMD selection (default=no)],, >+ enable_dynsimd=no) >+ >+if test "x$enable_dynsimd" = xyes; then >+ AC_DEFINE(USE_DYNSIMD, 1, [Define to 1 to use dynamic SIMD selection.]) >+ enable_mmx=yes >+ enable_sse=yes >+fi >+ > dnl Check for MMX assembly > > AC_ARG_ENABLE(mmx, >@@ -264,20 +276,12 @@ > : > fi > >- JACK_OPT_CFLAGS="$COMMON_X86_OPT_FLAGS $JACK_OPT_CFLAGS $MMX_FLAGS $SSE_FLAGS" >+ JACK_OPT_CFLAGS="$COMMON_X86_OPT_FLAGS $JACK_OPT_CFLAGS" > > elif test "$target_cpu" = "x86_64"; then > JACK_OPT_CFLAGS="-DREENTRANT -O3 -march=k8 -fomit-frame-pointer -ffast-math -funroll-loops" > fi > >-AC_ARG_ENABLE(dynsimd, >- [ --enable-dynsimd enable dynamic SIMD selection (default=no)],, >- enable_dynsimd=no) >- >-if test "x$enable_dynsimd" = xyes; then >- AC_DEFINE(USE_DYNSIMD, 1, [Define to 1 to use dynamic SIMD selection.]) >-fi >- > AC_ARG_ENABLE(optimize, > AC_HELP_STRING([--enable-optimize], > [ask the compiler for its best optimizations]), >@@ -287,6 +291,9 @@ > ] > ) > >+dnl Now add the MMX and SSE flags as appropriate; these are not optimizations >+JACK_CFLAGS="$JACK_CFLAGS $MMX_FLAGS $SSE_FLAGS" >+ > AC_SUBST(JACK_CFLAGS) > > dnl
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 153001
: 100935