glibc/conform
Joseph Myers 885762aa31 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.
2021-09-17 19:24:14 +00:00
..
data hurd: Add WSTOPPED/WCONTINUED/WEXITED/WNOWAIT support [BZ #23091] 2020-12-28 23:37:04 +01:00
check-header-lists.sh Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
conformtest.py Run conform/ tests using newly built libc 2021-09-17 13:12:10 +00:00
glibcconform.py Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
linknamespace.py Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
list-header-symbols.py Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Makefile Use $(pie-default) with conformtest 2021-09-17 19:24:14 +00:00