mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
user_only: compile everything with -fpie
We really need compile _all_ sources for user target with -fpie when
use --enable-user-pie.
It's regression introduced by commit add16157d7.
Signed-off-by: Kirill A. Shutemov <[email protected]>
Cc: Blue Swirl <[email protected]>
Signed-off-by: Juan Quintela <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
This commit is contained in:
1 parent
060fbfe1d6
commit
299060a06e
2 files changed
+9
-1
No files matched your search
+6
-1
@@ -2,10 +2,15 @@
|
||||
|
||||
include ../config-host.mak
|
||||
include $(SRC_PATH)/rules.mak
|
||||
include config.mak
|
||||
|
||||
.PHONY: all
|
||||
|
||||
VPATH=$(SRC_PATH)
|
||||
# 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)
|
||||
|
||||
QEMU_CFLAGS+=-I..
|
||||
|
||||
|
||||
Reference in new issue
Block a user