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