diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-04-26 08:20:20 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-04-26 08:41:17 +0200 |
| commit | bef017f5fe7f65491f7efb3c6217e96823f9649e (patch) | |
| tree | e4f9391d9cd63f7f7d912faf04e0d83f628eb629 /test/lua/pipe.in | |
| parent | f91bc4c7fcf3ea66f7c4e4d9ff65adf4db3de2a9 (diff) | |
| download | vis-bef017f5fe7f65491f7efb3c6217e96823f9649e.tar.gz vis-bef017f5fe7f65491f7efb3c6217e96823f9649e.tar.xz | |
build: try to produce a statically linked position independent executable
In theory this should be as simple as:
$ cc -fPIE -pie --static helloworld.c
But unfortunately by default this will always add a PT_INTERP referencing
the dynamic loader/linker. On latest binutils >=2.26 this can be worked
around by supplying --no-dynamic-linker. Also tweak the musl-gcc wrapper
to use rcrt1.o as startup file.
Diffstat (limited to 'test/lua/pipe.in')
0 files changed, 0 insertions, 0 deletions
