Commit 9a4719ff authored by Ritesh Sarraf's avatar Ritesh Sarraf

Fix uml kernel build, disabling PIE and bindnow

Thanks: Balint Reczey
Closes: 837579
parent 4bad1c92
......@@ -16,9 +16,12 @@ DEB_HOST_ARCH?=$(shell dpkg-architecture -qDEB_HOST_ARCH)
#SUBARCH?=$(shell uname -m)
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
KBUILDVARS := CFLAGS_KERNEL=-O1
CFLAGS_KERNEL += -O1
endif
KBUILDVARS := CFLAGS_KERNEL="$(CFLAGS_KERNEL)" CC="$(CC) -no-pie"
LD="$(LD) -no-pie"
# development only targets
#
copy-config:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment