Hi,
I want to add '--emit-relocs' at the linker stage while building nginx, I
have edited the objs/Makefile to be like this:

        $(LINK) -o objs/nginx \
        objs/src/core/nginx.o \
         ....
        objs/ngx_modules.o \
        -ldl -lpthread -lcrypt -lpcre -lz --emit-relocs \
        -Wl,-E


However, I get this error

cc: error: unrecognized command line option '--emit-relocs'

Any idea to fix that?


Regards,
Mahmood
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to