--- vrb-0.5.1.orig/configure
+++ vrb-0.5.1/configure
@@ -341,8 +341,8 @@
     pgm_warn=( "${pgm_warn[@]}" -Winline )
 fi
 
-lib_feat=( -fomit-frame-pointer -funsigned-char -funsigned-bitfields -fgnu-linker -frerun-loop-opt -finline -finline-functions -fmove-all-movables )
-pgm_feat=( -fomit-frame-pointer -funsigned-char -funsigned-bitfields -fgnu-linker -frerun-loop-opt -finline -finline-functions -fmove-all-movables )
+lib_feat=( -fomit-frame-pointer -funsigned-char -funsigned-bitfields -frerun-loop-opt -finline -finline-functions )
+pgm_feat=( -fomit-frame-pointer -funsigned-char -funsigned-bitfields -frerun-loop-opt -finline -finline-functions )
 
 lib_cp_opt=( -pipe )
 pgm_cp_opt=( -pipe )
@@ -377,7 +377,7 @@
     pgm_as_opt=( -v "${pgm_as_opt[@]}" )
 fi
 
-lib_ld_opt=( -pipe -shared -nostdlib -nostartfiles )
+lib_ld_opt=( -pipe -shared )
 pgm_ld_opt=( -pipe )
 if [[ -n "${ld_verbose}" ]]; then
     lib_ld_opt=( -v "${lib_ld_opt[@]}" )
--- vrb-0.5.1.orig/vrb/src/bin/vbuf.c
+++ vrb-0.5.1/vrb/src/bin/vbuf.c
@@ -426,7 +426,6 @@
     int			opt_progress		;
     int			output_fd		;
     int			poll_time		;
-    int			poll_num		;
     int			poll_write		;
     int			poll_read		;
 
@@ -861,7 +860,7 @@
 	    poll_time = display_time - get_time_ms();
 	    if ( poll_time < 0 ) poll_time = 0;
 	}
-	poll_num = poll( poll_list, 2, poll_time );
+	poll( poll_list, 2, poll_time );
 
 	//-----------------------
 	// Check for poll events.
