Skip to content

Commit c5c8a91

Browse files
committed
Initial makefile changes for osx bootstrapped omc (which crashes in the GC when compiled with clang)
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@16906 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 3ec6af2 commit c5c8a91

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

configure.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ AC_SUBST(LINK)
6363
AC_SUBST(RPATH)
6464
AC_SUBST(MSL_EXTRA_ARGS)
6565
AC_SUBST(WITH_HWLOC)
66+
AC_SUBST(OS_TARGET)
6667

6768
FINAL_MESSAGES="\nConfigured OpenModelica successfully using the following options:"
6869

@@ -674,6 +675,7 @@ if test "Darwin" = `uname`; then
674675
LINK="cp -fr"
675676
RPATH="-Wl,-rpath,'@loader_path/../lib/omc'"
676677
MSL_EXTRA_ARGS="--disable-hdf5 --enable-static-zlib --enable-static --disable-shared"
678+
OS_TARGET="osx"
677679
else
678680
EXE=""
679681
SHREXT=".so"
@@ -684,6 +686,7 @@ else
684686
RT_LDFLAGS="$RT_LDFLAGS -lrt -lgc $OPENMP"
685687
LINK="cp -frl"
686688
RPATH="-Wl,-rpath,'\$\$ORIGIN/../lib/omc'"
689+
OS_TARGET="linux"
687690
fi
688691

689692
dnl should we compile modpar

0 commit comments

Comments
 (0)