Skip to content

Commit

Permalink
- pass the cc flags to metis building
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@25047 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Mar 12, 2015
1 parent 52096b7 commit 00dc56d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.common
Expand Up @@ -229,7 +229,7 @@ CMinpack-clean:
rm -f 3rdParty/CMinpack/build/Makefile

metis:
(cd 3rdParty/metis-5.1.0 && $(CMAKE) -G $(CMAKE_TARGET) && make)
(cd 3rdParty/metis-5.1.0 && $(CMAKE) -G $(CMAKE_TARGET) && CC="$(CC)" CFLAGS="$(CFLAGS)" make)
cp 3rdParty/metis-5.1.0/libmetis/libmetis.a $(builddir_lib)/omc/

metis-clean:
Expand Down

0 comments on commit 00dc56d

Please sign in to comment.