mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-11 21:34:53 -04:00
Add comment to configure.in to explain gc-sections test logic
(Basically, we need access to conftest.err for the test to work properly.)
This commit is contained in:
parent
6bb23e4bb1
commit
c621359122
@ -706,6 +706,9 @@ if test "$GCC" = yes && test "$enable_function_sections" = yes ; then
|
|||||||
]]
|
]]
|
||||||
)],
|
)],
|
||||||
[
|
[
|
||||||
|
dnl We have to do this invocation manually so that we can
|
||||||
|
dnl get the output of conftest.err to make sure it doesn't
|
||||||
|
dnl mention gc-sections.
|
||||||
if test "X$cross_compiling" = "Xyes" || grep gc-sections conftest.err ; then
|
if test "X$cross_compiling" = "Xyes" || grep gc-sections conftest.err ; then
|
||||||
libevent_cv_gc_sections_runs=no
|
libevent_cv_gc_sections_runs=no
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user