summaryrefslogtreecommitdiff
path: root/yasmwrapper.sh
blob: 021962b6d39f65c2bebe6b7658c078a20af40831 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
ARGS=""
for i in $@ ; do
    #if [ "$i" != "-fPIC" ] && [ "$i" != "-DPIC" ]; then
    if [ "$i" != "-fPIC" -a "$i" != "-fno-common" ]; then
        ARGS="$ARGS $i"
    fi
done
echo "exec: yasm $ARGS"
yasm $ARGS