Demos: Compile LinkDemo as a PIE with interpreter /lib/lib-elf.so

This commit is contained in:
Andrew Kaster 2020-01-10 18:39:57 -07:00 committed by Andreas Kling
parent 7a7e7c82b5
commit c3be3718cf
Notes: sideshowbarker 2024-07-19 10:04:49 +09:00

View file

@ -3,4 +3,7 @@ OBJS = \
PROGRAM = LinkDemo PROGRAM = LinkDemo
SUBPROJECT_CXXFLAGS = -fPIC
LDFLAGS = -pie -Wl,--dynamic-linker=/lib/ld-elf.so
include ../../../Makefile.common include ../../../Makefile.common