diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2002-05-30 19:46:34 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2002-05-30 19:46:34 +0000 |
| commit | 3c67aa80ec35cf4e4799f1018c65fae6f5024a86 (patch) | |
| tree | 537c068aa756b99772a9041f85bce4af477e3a2b | |
| parent | 5685a7738f14993c79521affbe617af502492728 (diff) | |
Notes
| -rw-r--r-- | Makefile.inc1 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 5df999d6687c..ff55a00dc94b 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -574,7 +574,10 @@ _strfile= games/fortune/strfile .endif # This horrible kludge should be deleted in about 2 weeks, say July 9, 2002 _cxx_version!= ${CXX} -v 2>&1 | awk '$$0 ~ /^gcc version/ {print $$3}' -.if ${CXX:T} != "c++" || ${_cxx_version} != "3.1" || exists(/usr/lib/libstdc++.so.4) +_cc_version!= ${CC} -v 2>&1 | awk '$$0 ~ /^gcc version/ {print $$3}' +.if ${CXX:T} != "c++" || \ + (${_cxx_version} == ${_cc_version} && ${_cxx_version} != "3.1") || \ + exists(/usr/lib/libstdc++.so.4) _cxx_consumers= gnu/usr.bin/gperf gnu/usr.bin/groff .endif |
