summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-07-11 14:37:33 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-07-12 11:31:11 (GMT)
commitbed61a7be37cd95b05b8fa9c48cab77e81c93efd (patch)
treeb8b1c816574bbad3b986aab8b576de9b9712c2a2
parent5d09b72d608fe91e8305f1c12df42cd68f79c500 (diff)
downloadbuildroot-bed61a7be37cd95b05b8fa9c48cab77e81c93efd.tar.gz
buildroot-bed61a7be37cd95b05b8fa9c48cab77e81c93efd.tar.bz2
Makefile: unexport RUBYOPT
On Gentoo systems with ruby installed RUBYOPT is set and causes build breakage for some packages that needs host-ruby (example: webkit). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f6e9965..f477124 100644
--- a/Makefile
+++ b/Makefile
@@ -180,6 +180,9 @@ unexport PKG_CONFIG_SYSROOT_DIR
# steps of some packages.
unexport DESTDIR
+# Causes breakage with packages that needs host-ruby
+unexport RUBYOPT
+
# bash prints the name of the directory on 'cd <dir>' if CDPATH is
# set, so unset it here to not cause problems. Notice that the export
# line doesn't affect the environment of $(shell ..) calls, so