]> xenbits.xensource.com Git - rumpuser-xen.git/commitdiff
app-tools/ld: Ignore --export-dynamic and variants
authorMartin Lucina <martin@lucina.net>
Tue, 20 Jan 2015 12:22:33 +0000 (13:22 +0100)
committerMartin Lucina <martin@lucina.net>
Tue, 20 Jan 2015 12:22:33 +0000 (13:22 +0100)
Some applications insist on using --export-dynamic in LDFLAGS even when
configured with --disable-shared. Since we don't do dynamic linking,
we can safely ignore these options in stunt ld.

Signed-off-by: Martin Lucina <martin@lucina.net>
app-tools/ld

index 1b9ecb0245c410bfcb5e30a6fab1681c9c2f322a..f2ffb5bd216379710c357a4154c263dbbb9d35a1 100755 (executable)
@@ -43,6 +43,8 @@ while [ $# != 0 ]; do
                ;;
        -plugin-opt=*)
                ;;
+       -E|--export-dynamic|--no-export-dynamic)
+               ;;
        *)
                fail "unknown option $a"
                ;;