Skip to content

Commit

Permalink
fix qmake.sh on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
hkiel authored and sjoelund committed Nov 25, 2016
1 parent 1fccf2c commit 7471457
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions m4/qmake.m4
Expand Up @@ -40,8 +40,8 @@ if test -n "$QMAKE"; then
echo 'if test -z "$MAKEFILE"; then MAKEFILE=Makefile; fi' >> ./qmake.sh
# echo 'echo $MAKEFILE' >> ./qmake.sh
echo 'cat $MAKEFILE | \
sed "s/-arch i386//g" | \
sed "s/-arch x86_64//g" | \
sed "s/-arch@<:@\\@:>@* i386//g" | \
sed "s/-arch@<:@\\@:>@* x86_64//g" | \
sed "s/-arch//g" | \
sed "s/-Xarch@<:@^ @:>@*//g" > $MAKEFILE.fixed && \
mv $MAKEFILE.fixed $MAKEFILE' >> qmake.sh
Expand Down

0 comments on commit 7471457

Please sign in to comment.