Skip to content

Commit

Permalink
science/openmodelica: Fix build without ccache
Browse files Browse the repository at this point in the history
As it turned out it was refusing to build w/out ccache (which I had enabled by default).

Reported by:	fallout
  • Loading branch information
yurivict committed Dec 16, 2022
1 parent 070cece commit 493cff2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions science/openmodelica/Makefile
Expand Up @@ -65,6 +65,8 @@ GH_TUPLE= \
CMAKE_ARGS= -DCMAKE_MAKE_PROGRAM=gmake \
-DPython_EXECUTABLE=${PYTHON_CMD}

CMAKE_ARGS+= -DDOM_USE_CCACHE:BOOL=${CCACHE_ENABLED:S/yes/ON/:S/no/OFF/} # if refuses to build w/out ccache by default

LDFLAGS+= -lexecinfo -lintl -pthread

BINARY_ALIAS= make=${GMAKE} gcc=${FILESDIR}/gcc.sh git=false
Expand Down

0 comments on commit 493cff2

Please sign in to comment.