mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 22:47:12 +01:00
Merge remote-tracking branch 'public/bug12693_025'
This commit is contained in:
commit
e6150c7fc0
2 changed files with 5 additions and 1 deletions
3
changes/bug12693
Normal file
3
changes/bug12693
Normal file
|
@ -0,0 +1,3 @@
|
|||
o Build fixes:
|
||||
- Allow our configure script to build correctly with autoconf 2.62
|
||||
again. Fixes bug 12693; bugfix on 0.2.5.2-alpha.
|
|
@ -604,11 +604,12 @@ if test x$enable_gcc_hardening != xno; then
|
|||
TOR_CHECK_CFLAGS(-fstack-protector-all, also_link)
|
||||
AS_VAR_PUSHDEF([can_compile], [tor_cv_cflags_-fstack-protector-all])
|
||||
AS_VAR_PUSHDEF([can_link], [tor_can_link_-fstack-protector-all])
|
||||
m4_ifdef([AS_VAR_IF],[
|
||||
AS_VAR_IF(can_compile, [yes],
|
||||
AS_VAR_IF(can_link, [yes],
|
||||
[],
|
||||
AC_MSG_ERROR([We tried to build with stack protection; it looks like your compiler supports it but your libc does not provide it. Are you missing libssp? (You can --disable-gcc-hardening to ignore this error.)]))
|
||||
)
|
||||
)])
|
||||
AS_VAR_POPDEF([can_link])
|
||||
AS_VAR_POPDEF([can_compile])
|
||||
TOR_CHECK_CFLAGS(-Wstack-protector)
|
||||
|
|
Loading…
Add table
Reference in a new issue