diff -Nru parted-1.8.8.orig/configure parted-1.8.8/configure --- parted-1.8.8.orig/configure 2007-08-09 20:49:21.000000000 +0200 +++ parted-1.8.8/configure 2008-02-12 02:37:04.000000000 +0100 @@ -12816,7 +12816,6 @@ # native cc issues annoying warnings and then ignores it, # which would cause us to incorrectly conclude that it worked. for gl_flags in \ - '-Wl,--as-needed' \ '-Wl,-z,ignore' \ '-z ignore' do diff -Nru parted-1.8.8.orig/m4/lib-ignore.m4 parted-1.8.8/m4/lib-ignore.m4 --- parted-1.8.8.orig/m4/lib-ignore.m4 2006-07-03 10:32:46.000000000 +0200 +++ parted-1.8.8/m4/lib-ignore.m4 2008-02-12 02:36:36.000000000 +0100 @@ -26,7 +26,6 @@ # native cc issues annoying warnings and then ignores it, # which would cause us to incorrectly conclude that it worked. for gl_flags in \ - '-Wl,--as-needed' \ '-Wl,-z,ignore' \ '-z ignore' do