X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=sim%2Fucsim%2Fconfigure.in;h=7a86a697218eabebf3c46eba98bb01aa31869153;hb=9ad3112a0d40d8007803a97abf32198d44a7f561;hp=a8c506ec0c1301d7669f4b64b33987b7ab14afd9;hpb=a3ab6292ce144f88d1c5a919ee4a72d94e1366f7;p=fw%2Fsdcc diff --git a/sim/ucsim/configure.in b/sim/ucsim/configure.in index a8c506ec..7a86a697 100644 --- a/sim/ucsim/configure.in +++ b/sim/ucsim/configure.in @@ -8,7 +8,7 @@ AC_PROG_AWK AC_MSG_CHECKING(version of the package) if test -f ${srcdir}/.version; then - VERSION=`cat ${srcdir}/.version` + { read VERSION; } < ${srcdir}/.version AC_MSG_RESULT($VERSION) else VERSION="0.0.0" @@ -477,6 +477,10 @@ if test "$ucsim_cv_CXXpipe" = "yes"; then CXXFLAGS="$CXXFLAGS -pipe" fi +# temporary solution to supress GCC 4.2.0 c++ warning: +# deprecated conversion from string constant to `char *' +CXXFLAGS="$CXXFLAGS -Wno-write-strings" + PICOPT="" SHAREDLIB="no" DD_COPT_NO_IGNORE(CXX, fPIC)