diff options
author | Damien Miller <djm@mindrot.org> | 2019-11-29 15:10:21 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-11-29 15:10:21 +1100 |
commit | 443848155ffcda65a6077aac118c861b503a093f (patch) | |
tree | 1e648412f464f4e9d68a2d4cce0e66c55e0d7206 /configure.ac | |
parent | 37f5b5346e4cc6a894245aa89d2930649bb7045b (diff) |
compile sk-dummy.so with no-PIE version of LDFLAGS
This lets it pick up the -L path to libcrypto for example.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c57b2401f..a12fc0d12 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -5313,8 +5313,10 @@ AC_SUBST([DEPEND], [$(cat $srcdir/.depend)]) | |||
5313 | CFLAGS="${CFLAGS} ${CFLAGS_AFTER}" | 5313 | CFLAGS="${CFLAGS} ${CFLAGS_AFTER}" |
5314 | LDFLAGS="${LDFLAGS} ${LDFLAGS_AFTER}" | 5314 | LDFLAGS="${LDFLAGS} ${LDFLAGS_AFTER}" |
5315 | 5315 | ||
5316 | # Make a copy of CFLAGS without -fpie | 5316 | # Make a copy of CFLAGS/LDFLAGS without PIE options. |
5317 | LDFLAGS_NOPIE=`echo "$LDFLAGS" | sed 's/ -pie//'` | ||
5317 | CFLAGS_NOPIE=`echo "$CFLAGS" | sed 's/ -fPIE//'` | 5318 | CFLAGS_NOPIE=`echo "$CFLAGS" | sed 's/ -fPIE//'` |
5319 | AC_SUBST([LDFLAGS_NOPIE]) | ||
5318 | AC_SUBST([CFLAGS_NOPIE]) | 5320 | AC_SUBST([CFLAGS_NOPIE]) |
5319 | 5321 | ||
5320 | AC_EXEEXT | 5322 | AC_EXEEXT |