Browse Source

Fixed -lgcc bug in configure.ac (needed for -m32)

pull/2/head
Christopher Celio 13 years ago
parent
commit
0bdb8c8409
  1. 4
      configure
  2. 3
      configure.ac

4
configure

@ -3953,9 +3953,7 @@ fi
CFLAGS="-Wall -Os -std=gnu99 -Wno-unused" CFLAGS="-Wall -Os -std=gnu99 -Wno-unused"
LIBS="-lgcc" LIBS="-lc -lgcc"
LIBS="-lc"

3
configure.ac

@ -72,8 +72,7 @@ AC_HEADER_STDC
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
AC_SUBST([CFLAGS], ["-Wall -Os -std=gnu99 -Wno-unused"]) AC_SUBST([CFLAGS], ["-Wall -Os -std=gnu99 -Wno-unused"])
AC_SUBST([LIBS], ["-lgcc"]) AC_SUBST([LIBS], ["-lc -lgcc"])
AC_SUBST([LIBS], ["-lc"])
AX_DEFAULT_CONFIGURE_ARG([--host=riscv]) AX_DEFAULT_CONFIGURE_ARG([--host=riscv])

Loading…
Cancel
Save