14 lines
261 B
Bash
14 lines
261 B
Bash
#!/bin/sh
|
|
|
|
# compiler wrapper to get rid of -I/usr/include and -L/usr/lib, that fucks up
|
|
# cross compilation badly.
|
|
MYARGS=
|
|
|
|
for i in $@; do
|
|
if [ $i = "-L/usr/lib" -o $i = "-I/usr/include" ]; then
|
|
continue
|
|
else
|
|
MYARGS+="$i "
|
|
fi
|
|
done
|
|
exec @BIN@ ${MYARGS}
|