aboutsummaryrefslogtreecommitdiff
path: root/ltcf-cxx.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ltcf-cxx.sh')
-rw-r--r--ltcf-cxx.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh
index 3469e37875b..1a5a60eabd2 100644
--- a/ltcf-cxx.sh
+++ b/ltcf-cxx.sh
@@ -580,9 +580,8 @@ 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
+ac_cv_prog_cc_pic_works=
+ac_cv_prog_cc_static_works=
if test "$with_gcc" = yes; then
ac_cv_prog_cc_wl='-Wl,'