aboutsummaryrefslogtreecommitdiff
path: root/scripts/cpp
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2021-09-17 19:24:14 +0000
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2021-12-13 20:59:48 +0530
commit1fe4b8d6937139faa47410552d4e21b356810d67 (patch)
treeab62a3a40f01467e8bc2785570f0f361ec6f02bc /scripts/cpp
parent0dcbf4c8705309af8c8c1620491c60539901a3b0 (diff)
downloadglibc-1fe4b8d6937139faa47410552d4e21b356810d67.tar.xz
glibc-1fe4b8d6937139faa47410552d4e21b356810d67.zip
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. (cherry picked from commit 885762aa31d75de8b9fea4c0e2e372b582d4c548)
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions