]> git.stg.codes - stg.git/blobdiff - projects/rlm_stg/build
Ticket 37. The construction else added to if (tariff != NULL) construction in the
[stg.git] / projects / rlm_stg / build
index ded3a070ed31963722fcd6be356d5bcdc7f3058e..179d526188d9aef6e1370ca024d04d01063a27e9 100755 (executable)
@@ -140,7 +140,7 @@ rm -f fake
 
 printf "Checking for iconv 2nd argument... "
 printf "#include <iconv.h>\nint main(){ const char** src = 0; iconv(0, src, 0, 0, 0); }\n" > build_check.c
-$CXX $CXXFLAGS $LDFLAGS -Werror build_check.c $LIBICONV -o fake > /dev/null 2> /dev/null
+$CC $CFLAGS $LDFLAGS -Werror build_check.c $LIBICONV -o fake > /dev/null 2> /dev/null
 if [ $? != 0 ]
 then
     printf "non-const\n"