diff --git a/configure b/configure index 5794d864ec3..f590fe6c68a 100755 --- a/configure +++ b/configure @@ -3424,12 +3424,14 @@ case $_backend in append_var LDFLAGS "-Wl,-Ttext,0x8c010000" append_var LDFLAGS "-nostartfiles" append_var LDFLAGS "-L$RONINDIR/lib" - append_var LIBS "$RONINDIR/lib/crt0.o" + append_var LDFLAGS "$RONINDIR/lib/crt0.o" # Enable serial debugging output only when --enable-debug is passed if test "$_release_build" = yes -o "$_debug_build" != yes; then append_var LIBS "-lronin-noserial -lm" + append_var LDFLAGS "-lronin-noserial -lm" else append_var LIBS "-lronin -lm" + append_var LDFLAGS "-lronin -lm" fi ;; dingux)