X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e1999cff4c8d39584a6723cf0ff2ffec9425c4da..9ac51161f6093558c61f3edaa134831df2b5b38c:/projects/rlm_stg/build?ds=inline diff --git a/projects/rlm_stg/build b/projects/rlm_stg/build index ded3a070..179d5261 100755 --- a/projects/rlm_stg/build +++ b/projects/rlm_stg/build @@ -140,7 +140,7 @@ rm -f fake printf "Checking for iconv 2nd argument... " printf "#include \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"