Explorar el Código

* GCC3 Compile options

svn: 990
Bryan Drewery hace 22 años
padre
commit
41fdabe84c
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      autotools/includes/depend.m4

+ 2 - 0
autotools/includes/depend.m4

@@ -9,8 +9,10 @@ CCDEPMODE=gcc
 num=`$CC -dumpversion | sed "s/^\\\(.\\\).*/\\\1/"`
 if test $num = "3"; then
   CCDEPMODE=gcc3
+  GCC3="-Wpacked -Wno-unused-parameter -Wmissing-format-attribute"
 fi
 AC_SUBST(CCDEPMODE)dnl
+AC_SUBST(GCC3)dnl
 ])dnl
 
 AC_DEFUN([DO_DEPS],