summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-07-11 11:37:33 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2013-07-12 13:31:11 +0200
commitbed61a7be37cd95b05b8fa9c48cab77e81c93efd (patch)
treeb8b1c816574bbad3b986aab8b576de9b9712c2a2 /Makefile
parent5d09b72d608fe91e8305f1c12df42cd68f79c500 (diff)
downloadbuildroot-novena-bed61a7be37cd95b05b8fa9c48cab77e81c93efd.tar.gz
buildroot-novena-bed61a7be37cd95b05b8fa9c48cab77e81c93efd.zip
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f6e996594..f47712493 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