You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
452 B

  1. --- a/configure.ac
  2. +++ b/configure.ac
  3. @@ -348,11 +348,11 @@ fi
  4. if test "x$debug" = xtrue; then
  5. CPPFLAGS="-DDEBUG $CPPFLAGS"
  6. - CFLAGS=$(echo "$CFLAGS" | sed 's/-g//')
  7. - CFLAGS="-g $CFLAGS"
  8. + CFLAGS=$(echo "$CFLAGS" | sed 's/-g[0-9]*//')
  9. + CFLAGS="-g3 $CFLAGS"
  10. else
  11. CPPFLAGS="-DNDEBUG $CPPFLAGS"
  12. - CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//;s/-g//')
  13. + CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//;s/-g[0-9]*//')
  14. CFLAGS="-O3 -funroll-loops $CFLAGS"
  15. fi