summaryrefslogtreecommitdiffstats
path: root/Templates/cxxconfigure
diff options
context:
space:
mode:
Diffstat (limited to 'Templates/cxxconfigure')
-rwxr-xr-xTemplates/cxxconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/Templates/cxxconfigure b/Templates/cxxconfigure
index c604556..7b23fb5 100755
--- a/Templates/cxxconfigure
+++ b/Templates/cxxconfigure
@@ -740,11 +740,11 @@ case $system in
rm -f conftest*
;;
OSF1-*)
- echo $ac_n "checking whether ${CXX} accepts -std strict_ansi""... $ac_c" 1>&6
+ echo $ac_n "checking whether ${CXX} accepts -std strict_ansi -nopure_cname""... $ac_c" 1>&6
echo 'void f(){}' > conftest.c
- if test -z "`${CXX} -std strict_ansi -c conftest.c 2>&1`"; then
+ if test -z "`${CXX} -std strict_ansi -nopure_cname -c conftest.c 2>&1`"; then
echo "$ac_t""yes" 1>&6
- CMAKE_ANSI_CXXFLAGS="-std strict_ansi"
+ CMAKE_ANSI_CXXFLAGS="-std strict_ansi -nopure_cname"
else
echo "$ac_t""no" 1>&6
fi