From f3b19ad8a7a8fb2f85a0fa50ef6ddd62ceb35b9a Mon Sep 17 00:00:00 2001 From: niels Date: Thu, 8 Oct 2015 19:55:19 +0200 Subject: [PATCH] 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= --- veejay-current/veejay-client/configure.ac | 4 ++-- veejay-current/veejay-server/configure.ac | 4 ++-- veejay-current/veejay-server/doc/HowtoCompile.txt | 8 ++++++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/veejay-current/veejay-client/configure.ac b/veejay-current/veejay-client/configure.ac index c861d422..737a59e6 100644 --- a/veejay-current/veejay-client/configure.ac +++ b/veejay-current/veejay-client/configure.ac @@ -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 diff --git a/veejay-current/veejay-server/configure.ac b/veejay-current/veejay-server/configure.ac index e7ba75d4..6f5af20d 100644 --- a/veejay-current/veejay-server/configure.ac +++ b/veejay-current/veejay-server/configure.ac @@ -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 diff --git a/veejay-current/veejay-server/doc/HowtoCompile.txt b/veejay-current/veejay-server/doc/HowtoCompile.txt index 71b1be15..c0169771 100644 --- a/veejay-current/veejay-server/doc/HowtoCompile.txt +++ b/veejay-current/veejay-server/doc/HowtoCompile.txt @@ -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: