Commit c5b7acd2 authored by Michel Lespinasse's avatar Michel Lespinasse
Browse files

more compiler support

parent d127d68c
......@@ -61,6 +61,9 @@ elif test x"$CC" = x"tcc" -a x"`$CC -version 2>&1 | grep TenDRA`" != x""; then
enable_mlib=no
no_x=yes
enable_sdl=no
elif test x"$CC" = x"icc" -a x"`$CC -V 2>&1 | grep Intel`" != x""; then
dnl Intel C++ compiler
CFLAGS="-g -O3 -unroll -ip"
else
dnl non-gcc flags - we probably need exact configuration triplets here.
case "$host_alias" in
......
......@@ -25,7 +25,7 @@ basedir=`cd $basedir;pwd`
cd $builddir
rm -fr compile_test
for compiler in gcc gcc272 gcc-3.0 cc tcc; do
for compiler in gcc gcc272 gcc-3.0 cc checkergcc tcc icc; do
compiler_path=`which $compiler`;
if test x"$compiler_path" = x""; then continue; fi
compiler_inode=`ls -Li $compiler_path|awk '{print $1}'`
......
......@@ -13,7 +13,7 @@ srcdir=`cd $srcdir;pwd`
builddir=`cd $builddir;pwd`
bad_globals=`nm -g --defined-only $builddir/../libmpeg2/*.o|\
awk '{if ($3) print $3}'|grep -v '^mpeg2_'`
awk '{if ($3) print $3}'|grep -v '^_\?mpeg2_'`
if test x"$bad_globals" != x""; then
echo BAD GLOBAL SYMBOLS:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment