diff options
author | Joseph Myers <joseph@codesourcery.com> | 2021-09-17 19:24:14 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2021-09-17 19:24:14 +0000 |
commit | 885762aa31d75de8b9fea4c0e2e372b582d4c548 (patch) | |
tree | 183f1aa52c8c1bca2297768a1750fa70e1126891 /elf/dl-load.c | |
parent | f3eef963902d0f54f68cffc74f79b97f4d6154b7 (diff) | |
download | glibc-885762aa31d75de8b9fea4c0e2e372b582d4c548.zip glibc-885762aa31d75de8b9fea4c0e2e372b582d4c548.tar.gz glibc-885762aa31d75de8b9fea4c0e2e372b582d4c548.tar.bz2 |
Use $(pie-default) with conformtest
My glibc bot showed that my conformtest changes fail the build of the
conformtest execution tests for x86_64-linux-gnu-static-pie, because
linking the newly built object with the newly built libc and the
associated options normally used for linking requires it to be built
as PIE. Add $(pie-default) to the compiler command used so that PIE
options are used when required.
There's a case for using the whole of $(CFLAGS-.o) (which includes
$(pie-default)), but that raises questions of any impact from using
optimization flags from CFLAGS in these tests. So for now just use
$(pie-default) as the key part of $(CFLAGS-.o) that's definitely
needed.
Tested with build-many-glibcs.py for x86_64-linux-gnu-static-pie.
Diffstat (limited to 'elf/dl-load.c')
0 files changed, 0 insertions, 0 deletions