Skip to content

Commit

Permalink
[TestLoadUnload] Build the main inferior exe with -pie.
Browse files Browse the repository at this point in the history
Test Plan: dotest.py -p TestLoadUnload on Android API >= 21

Reviewers: tberghammer

Subscribers: tberghammer, lldb-commits

Differential Revision: http://reviews.llvm.org/D10545

llvm-svn: 240048
  • Loading branch information
Siva Chandra committed Jun 18, 2015
1 parent 034ea96 commit 8cf78d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/test/functionalities/load_unload/Makefile
Expand Up @@ -38,7 +38,7 @@ endif
all: a.out $(LIB_A) $(LIB_B) $(LIB_C) $(LIB_D) hidden/$(LIB_D)

a.out: main.o $(LIB_D)
$(CC) $(CFLAGS) -o a.out main.o -L. -lloadunload_d $(LIB_DL)
$(CC) $(CFLAGS) -o a.out main.o -L. -pie -lloadunload_d $(LIB_DL)

main.o: main.c
$(CC) $(CFLAGS) -c main.c
Expand Down

0 comments on commit 8cf78d1

Please sign in to comment.