Skip to content

Commit

Permalink
- Hopefully fixes the macports issues that causes qmake to generate e…
Browse files Browse the repository at this point in the history
…rroneous makefiles

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7461 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Dec 17, 2010
1 parent bf992d0 commit 0bdee47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -4676,7 +4676,7 @@ if test -n "$QMAKE"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for qmake arguments" >&5
$as_echo_n "checking for qmake arguments... " >&6; }
if test "Darwin" = `uname`; then
QMAKE="$QMAKE -spec macx-g++ -macx -o Makefile"
QMAKE="$QMAKE && sed -i.bak 's/-arch -Xarch/-Xarch/' Makefile"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5
$as_echo "$QMAKE" >&6; }
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -306,7 +306,7 @@ AC_CHECK_PROGS(QMAKE,qmake-qt4 qmake-mac qmake,"")
if test -n "$QMAKE"; then
AC_MSG_CHECKING([for qmake arguments])
if test "Darwin" = `uname`; then
QMAKE="$QMAKE -spec macx-g++ -macx -o Makefile"
QMAKE="$QMAKE && sed -i.bak 's/-arch -Xarch/-Xarch/' Makefile"
fi
AC_MSG_RESULT([$QMAKE])
fi
Expand Down

0 comments on commit 0bdee47

Please sign in to comment.