]> git.stg.codes - stg.git/blobdiff - projects/sgauth/build
Ticket 37. The 'change_policy_timeout' field added to update tb_tariffs
[stg.git] / projects / sgauth / build
index 81edf8d4d4221ab65904736bc0aa616d0493c2e6..cef1da1d9c63055565d2c980da3bf8492f4e4af3 100755 (executable)
@@ -161,7 +161,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"