public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/siddhesh/default-pie] disable static pie if pie is disabled
@ 2021-12-07  5:18 Siddhesh Poyarekar
  0 siblings, 0 replies; only message in thread
From: Siddhesh Poyarekar @ 2021-12-07  5:18 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=fc0425875e698943a02886ee016a0b9845076e9f

commit fc0425875e698943a02886ee016a0b9845076e9f
Author: Siddhesh Poyarekar <siddhesh@sourceware.org>
Date:   Tue Dec 7 10:48:16 2021 +0530

    disable static pie if pie is disabled

Diff:
---
 configure    | 1 +
 configure.ac | 1 +
 2 files changed, 2 insertions(+)

diff --git a/configure b/configure
index f489cf0dcb..4dce154938 100755
--- a/configure
+++ b/configure
@@ -7004,6 +7004,7 @@ build-pie-default = $libc_cv_pie_default"
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can build static PIE programs" >&5
 $as_echo_n "checking if we can build static PIE programs... " >&6; }
+libc_cv_static_pie=$libc_cv_pie_default
 if test "x$libc_cv_pie_default" != xno \
    -a "$libc_cv_no_dynamic_linker" = yes; then
   # Enable static-pie if available
diff --git a/configure.ac b/configure.ac
index 0498760136..55d3162a4d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1865,6 +1865,7 @@ AC_MSG_RESULT($libc_cv_pie_default)
 LIBC_CONFIG_VAR([build-pie-default], [$libc_cv_pie_default])
 
 AC_MSG_CHECKING(if we can build static PIE programs)
+libc_cv_static_pie=$libc_cv_pie_default
 if test "x$libc_cv_pie_default" != xno \
    -a "$libc_cv_no_dynamic_linker" = yes; then
   # Enable static-pie if available


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-07  5:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-07  5:18 [glibc/siddhesh/default-pie] disable static pie if pie is disabled Siddhesh Poyarekar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).