summaryrefslogtreecommitdiff
path: root/Demos
diff options
context:
space:
mode:
Diffstat (limited to 'Demos')
-rw-r--r--Demos/DynamicLink/LinkDemo/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Demos/DynamicLink/LinkDemo/Makefile b/Demos/DynamicLink/LinkDemo/Makefile
index def5edea1f..3bc32984ec 100644
--- a/Demos/DynamicLink/LinkDemo/Makefile
+++ b/Demos/DynamicLink/LinkDemo/Makefile
@@ -3,4 +3,7 @@ OBJS = \
PROGRAM = LinkDemo
+SUBPROJECT_CXXFLAGS = -fPIC
+LDFLAGS = -pie -Wl,--dynamic-linker=/lib/ld-elf.so
+
include ../../../Makefile.common