commit:     3bb409b3eba0c8d3c4dfc33e5066a7fb4e24339a
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  7 07:09:35 2016 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Jul  7 07:09:35 2016 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=3bb409b3

scripts/bootstrap-prefix: only disable sandbox on RAP

 scripts/bootstrap-prefix.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index e05c81a..22987e0 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -232,8 +232,10 @@ bootstrap_setup() {
                        echo 'CXXFLAGS="${CFLAGS}"'
                        echo "MAKEOPTS=\"${MAKEOPTS}\""
                        echo "CONFIG_SHELL=\"${ROOT}/bin/bash\""
-                       echo "# sandbox does not work well on Prefix, bug 
490246"
-                       echo 'FEATURES="-usersandbox -sandbox"'
+                       if is-rap ; then
+                               echo "# sandbox does not work well on Prefix, 
bug 490246"
+                               echo 'FEATURES="-usersandbox -sandbox"'
+                       fi
                        if [[ !is-rap && -n ${PREFIX_DISABLE_USR_SPLIT} ]] ; 
then
                                echo
                                echo "# This disables /usr-split, removing this 
will break"

Reply via email to