aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-09-10 14:54:49 +0200
committerDaniel Golle <daniel@makrotopia.org>2020-10-30 00:39:09 +0000
commit0fdbd2e61f742d9fbd6263bd86da3013ebcb1b9c (patch)
treee9a3605692ec7be12ad6f66db8fffd8926c68958
parentf93cb5c2c8dcffae6f7bc80b9c7807de30d67371 (diff)
downloadupstream-0fdbd2e61f742d9fbd6263bd86da3013ebcb1b9c.tar.gz
upstream-0fdbd2e61f742d9fbd6263bd86da3013ebcb1b9c.tar.bz2
upstream-0fdbd2e61f742d9fbd6263bd86da3013ebcb1b9c.zip
rules.mk: simplify FAKEROOT command line
Since fakeroot is patched to discover related ressources relative to the STAGING_DIR_HOST environment variable, there is no need to pass the path to faked or the preload library manually anymore. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--rules.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/rules.mk b/rules.mk
index 8b2424f2ba..3214395e1f 100644
--- a/rules.mk
+++ b/rules.mk
@@ -264,12 +264,7 @@ endif
BUILD_KEY=$(TOPDIR)/key-build
-ifeq ($(HOST_OS),Darwin)
- FAKEROOT_SO:=$(STAGING_DIR_HOST)/lib/libfakeroot.dylib
-else
- FAKEROOT_SO:=$(STAGING_DIR_HOST)/lib/libfakeroot.so
-endif
-FAKEROOT:=$(STAGING_DIR_HOST)/bin/fakeroot -l $(FAKEROOT_SO) -f $(STAGING_DIR_HOST)/bin/faked
+FAKEROOT:=$(STAGING_DIR_HOST)/bin/fakeroot
TARGET_CC:=$(TARGET_CROSS)gcc
TARGET_CXX:=$(TARGET_CROSS)g++