From 4f7694295fa5f2272a6817847594a29269307160 Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Sun, 5 Dec 1999 00:35:57 +0000 Subject: [PATCH] Make sure $ac_cv_prog_cc_pic_works and $ac_cv_prog_cc_static_works are unset since their C compiler cached values will override their C++ compiler specific values. Note that it was not enough to reset their values. They had to be unset. --- ltcf-cxx.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh index 46596d55e..ac0006b37 100644 --- a/ltcf-cxx.sh +++ b/ltcf-cxx.sh @@ -428,6 +428,10 @@ ac_cv_prog_cc_static= ac_cv_prog_cc_no_builtin= ac_cv_prog_cc_can_build_shared=$can_build_shared +# It is not enough to reset these cached values, they must be unset. +unset ac_cv_prog_cc_pic_works +unset ac_cv_prog_cc_static_works + if test "$with_gcc" = yes; then ac_cv_prog_cc_wl='-Wl,' ac_cv_prog_cc_static='-static' -- 2.47.3