aboutsummaryrefslogtreecommitdiff
path: root/Makefile.user
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.user')
-rw-r--r--Makefile.user6
1 files changed, 1 insertions, 5 deletions
diff --git a/Makefile.user b/Makefile.user
index c6ac50940a..024b7736b9 100644
--- a/Makefile.user
+++ b/Makefile.user
@@ -6,11 +6,7 @@ include $(SRC_PATH)/rules.mak
.PHONY: all
-# Do not take %.o from $(SRC_PATH), only %.c and %.h
-# All %.o for user targets should be built with -fpie, when
-# configured with --enable-user-pie, so we don't want to
-# take %.o from $(SRC_PATH), since they built without -fpie
-vpath %.c %.h $(SRC_PATH)
+$(call set-vpath, $(SRC_PATH))
QEMU_CFLAGS+=-I..