]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
UBUNTU: SAUCE: Add '-fno-ie -no-pie' to cflags for powerpc ptrace tests
authorSeth Forshee <seth.forshee@canonical.com>
Mon, 13 Mar 2017 20:59:01 +0000 (15:59 -0500)
committerSeth Forshee <seth.forshee@canonical.com>
Mon, 13 Mar 2017 21:06:19 +0000 (16:06 -0500)
BugLink: http://bugs.launchpad.net/bugs/1672510
Fixes a FTBFS caused due to gcc in Ubuntu generating position-
independent code by default.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
tools/testing/selftests/powerpc/ptrace/Makefile

index fe6bc60dfc605dbdfc1a493b455fdbe1af0d3f25..0badc50c7bf647c43e3258caa87e8e8622b6d65c 100644 (file)
@@ -6,7 +6,7 @@ include ../../lib.mk
 
 all: $(TEST_PROGS)
 
-CFLAGS += -m64 -I../../../../../usr/include -I../tm -mhtm
+CFLAGS += -m64 -I../../../../../usr/include -I../tm -mhtm -fno-pie -no-pie
 
 $(TEST_PROGS): ../harness.c ../utils.c ../lib/reg.S ptrace.h