mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +00:00
Demos: Compile LinkDemo as a PIE with interpreter /lib/lib-elf.so
This commit is contained in:
parent
7a7e7c82b5
commit
c3be3718cf
Notes:
sideshowbarker
2024-07-19 10:04:49 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/c3be3718cfa Pull-request: https://github.com/SerenityOS/serenity/pull/1048 Reviewed-by: https://github.com/awesomekling ✅
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue