Skip to content

Commit

Permalink
Unroll the patch commands
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - OpenModelica/OMCompiler#2914
  • Loading branch information
sjoelund authored and OpenModelica-Hudson committed Feb 1, 2019
1 parent bbc721e commit 05c8b02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Compiler/boot/Makefile.common
Expand Up @@ -52,7 +52,8 @@ bootstrap-from-tarball:
# Patch _main.c to avoid a new tarball
$(MAKE) -f $(defaultMakefileTarget) patch-files
$(PATCH_SOURCES)
cd build && for x in ../patches/*.patch; do patch -i "$$x" "`basename $$x | sed 's/\([.][0-9]*\)\?[.]patch//'`" || exit 1; done
cd build && patch -i ../patches/CevalScript.c.1.patch CevalScript.c
cd build && patch -i ../patches/System_includes.h.patch System_includes.h
# We have not compiled OpenModelicaScriptingAPI.mo yet
touch build/OpenModelicaScriptingAPI.h
$(MAKE) -f $(defaultMakefileTarget) install INCLUDESOURCES=1 OMC=.omc BOOTSTRAP_STAGE_1=1 CPPFLAGS="$(CPPFLAGS) -DOMC_BOOTSTRAPPING_STAGE_1"
Expand Down

0 comments on commit 05c8b02

Please sign in to comment.