most veejay users build from source, lets use --with-arch-target=auto to build for their current cpu type. if you don't know what kind of x86 cpu veejay would be running on, run configure with --with-arch-target=generic to set -mtune=generic instead of -march=

This commit is contained in:
niels
2015-10-08 19:55:19 +02:00
parent 52098728df
commit f3b19ad8a7
3 changed files with 10 additions and 6 deletions

View File

@@ -57,9 +57,9 @@ AC_ARG_WITH(pixbuf,
AC_HELP_STRING([--without-pixbuf], [Do not use GDK pixbuf]),
[], [with_pixbuf=yes])
arch_target="generic"
arch_target="auto"
AC_ARG_WITH(arch-target, AS_HELP_STRING( [--with-arch-target=generic or auto],
[Build a generic binary or auto-detect current cpu type]),
[Build a generic binary or auto-detect current cpu type (defaults to auto-detect)]),
[ arch_target="$withval"])
AC_GNU_SOURCE

View File

@@ -111,9 +111,9 @@ AC_ARG_WITH(libresample,
AC_HELP_STRING([--without-libresample], [Do not use libresample.]),
[], [with_libresample=yes])
arch_target="generic"
arch_target="auto"
AC_ARG_WITH(arch-target, AS_HELP_STRING( [--with-arch-target=generic or auto],
[Build a generic binary or auto-detect current cpu type]),
[Build a generic binary or auto-detect current cpu type (defaults to auto-detect)]),
[ arch_target="$withval"])
AC_GNU_SOURCE

View File

@@ -59,9 +59,13 @@ If echo is silent, you must set the PKG_CONFIG_PATH to point to the directory co
Configure options:
------------------
--enable-debug : Builds veejay for debugging purposes (disables optimization)
--enable-debug
--with-arch-target=auto : Builds veejay for the current cpu-type. The resulting binary may not run on another computer.
Builds veejay for debugging purposes (disables optimization)
--with-arch-target=generic
Build veejay for generic x86 cpu-type. If the default is used (auto), the resulting binary may not run on another computer.
Compilation: