diff options
Diffstat (limited to '03_hello_dynld')
-rw-r--r-- | 03_hello_dynld/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/03_hello_dynld/Makefile b/03_hello_dynld/Makefile index d8201ef..0db8281 100644 --- a/03_hello_dynld/Makefile +++ b/03_hello_dynld/Makefile @@ -17,12 +17,12 @@ main: dynld.so main.c ../lib/libcommon.a readelf -W --program-headers $@ dynld.so: dynld.S dynld.c ../lib/libcommon.a - gcc -o $@ \ - $(COMMON_CFLAGS) \ - -fPIC \ - -fvisibility=hidden \ - -Wl,--entry=dl_start \ - -Wl,--no-allow-shlib-undefined \ + gcc -o $@ \ + $(COMMON_CFLAGS) \ + -fPIC \ + -fvisibility=hidden \ + -Wl,--entry=dl_start \ + -Wl,--no-undefined \ $^ @if ! readelf -r $@ | grep 'There are no relocations in this file' >& /dev/null; then \ |