From: Martin Mares Date: Sun, 25 Mar 2007 17:56:00 +0000 (+0000) Subject: C: Enable C99 syntax. X-Git-Tag: python-dummy-working~414 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=d4c3ca582673ae89bd864d8ac12b11b7292c75a7;p=moe.git C: Enable C99 syntax. Pascal: Disabled -gl as it needs to read the executable when reporting runtime errors. --- diff --git a/config b/config index b94cb43..ed45c19 100644 --- a/config +++ b/config @@ -40,11 +40,11 @@ EXTRA_CFLAGS= EXTRA_PFLAGS= # For each source extension, we must give compiler command -COMP_c='/usr/bin/gcc -O2 -g -o $EXE $EXTRA_CFLAGS $SRC' +COMP_c='/usr/bin/gcc -std=gnu99 -O2 -g -o $EXE $EXTRA_CFLAGS $SRC' COMP_C='/usr/bin/g++ -O2 -g -o $EXE $EXTRA_CFLAGS $SRC' COMP_cpp="$COMP_C" COMP_cc="$COMP_C" -COMP_p='/usr/bin/fpc -Ci -Cr -Ct -g -gl -O2 -Sg -o$EXE $EXTRA_PFLAGS $SRC' +COMP_p='/usr/bin/fpc -Ci -Cr -Ct -g -O2 -Sg -o$EXE $EXTRA_PFLAGS $SRC' COMP_pas="$COMP_p" # Sandbox options used when compiling