From 49975560955ac4c9a58e8fdf6f58ebd8842099e3 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 25 Jun 2010 16:19:29 +0200 Subject: [PATCH] config/options: set libjpeg-turbo alternative depended on ARCH Signed-off-by: Stephan Raue --- config/options | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/options b/config/options index 60e29534c1..cbd448f3ff 100644 --- a/config/options +++ b/config/options @@ -50,6 +50,14 @@ PROJECT_DIR=$ROOT/projects # multi-processor computer (like hyperthreading SMP CPU) CONCURRENCY_MAKE_LEVEL=1 + +# set jpeg library depending on ARCH + if [ "$TARGET_ARCH" = "i386" -o "$TARGET_ARCH" = "x86_64" ]; then + LIBJPEG="libjpeg-turbo" + else + LIBJPEG="jpeg" + fi + get_graphicdrivers() { if [ "$GRAPHIC_DRIVERS" = all ]; then GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 radeon nvidia"