Skip to content

Commit

Permalink
Patch _main.c to avoid a new tarball
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24733 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Feb 24, 2015
1 parent c55967e commit 94763c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Compiler/boot/Makefile.common
Expand Up @@ -21,6 +21,8 @@ GEN_DIR=build/
bootstrap-from-tarball:
$(MAKE) -f $(defaultMakefileTarget) clean OMC=.omc
tar xJf bootstrap-sources.tar.xz
# Patch _main.c to avoid a new tarball
sed -i "s/ = omc_assert_function/__attribute__((noreturn)) = omc_assert_function/" build/_main.c
$(MAKE) -f $(defaultMakefileTarget) install INCLUDESOURCES=1 OMC=.omc
@echo "Bootstrapping phase 1/3 completed"
$(MAKE) -f $(defaultMakefileTarget) clean OMC=$(BOOTSTRAP_OMC)
Expand Down

0 comments on commit 94763c9

Please sign in to comment.