From 7a6cd109ff42eabf7cbfe048acf9f886e385f673 Mon Sep 17 00:00:00 2001 From: Fabian Deutsch Date: Tue, 3 Jan 2012 11:44:21 +0100 Subject: [PATCH] Enable user dependent codemem allocation. Signed-off-by: Fabian Deutsch --- orc-subdir.patch | 6 +++--- orc.spec | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/orc-subdir.patch b/orc-subdir.patch index e765f1a..2fff4f5 100644 --- a/orc-subdir.patch +++ b/orc-subdir.patch @@ -83,7 +83,7 @@ index e125faa..be76472 100644 1.7.7.5 -From 2917974cb1a436831226ba17fc3017ad855c69d3 Mon Sep 17 00:00:00 2001 +From 5a9009d4275fd40a0079a8bf44a7de31c2962bb0 Mon Sep 17 00:00:00 2001 From: Fabian Deutsch Date: Sun, 1 Jan 2012 21:41:04 +0100 Subject: [PATCH 3/3] Add compiler option for ENABLE_USER_CODEMEM. @@ -98,7 +98,7 @@ Signed-off-by: Fabian Deutsch 3 files changed, 9 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac -index 6637b8e..b44d577 100644 +index 6637b8e..52edb5c 100644 --- a/configure.ac +++ b/configure.ac @@ -164,6 +164,10 @@ AM_CONDITIONAL(ENABLE_BACKEND_NEON, test "x$ENABLE_BACKEND_NEON" = "xyes") @@ -107,7 +107,7 @@ index 6637b8e..b44d577 100644 +AC_ARG_ENABLE(user-codemem, + AC_HELP_STRING([--enable-user-codemem],[Force codemem allocation to be user dependent (default is no)]), -+ [], [enable_user_codemem=yes]) ++ [], [enable_user_codemem=no]) +AM_CONDITIONAL(ENABLE_USER_CODEMEM, test "x$enable_user_codemem" = "xyes") AC_DEFINE(ORC_EXPORTS, 1, [Defined for compiling internal code]) diff --git a/orc.spec b/orc.spec index bd0aad9..4f2b38e 100644 --- a/orc.spec +++ b/orc.spec @@ -64,7 +64,7 @@ autoreconf -vif %build -%configure --disable-static --enable-gtk-doc +%configure --disable-static --enable-gtk-doc --enable-user-codemem make %{?_smp_mflags}