Skip to content

Commit

Permalink
- Use @cxx@ for C++ when linking omc
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@8765 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed May 1, 2011
1 parent f0c913c commit 5d15256
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Compiler/omc_debug/Makefile.in
Expand Up @@ -45,4 +45,4 @@ include $(srcdir)/Makefile.compiler_subdirs.common
# You're using the proper Unix Makefile. Thanks for making my life easier.

$(PROG): $(SRCO) $(SUBDIRS) $(top_builddir)/c_runtime/sendData/*.cpp
g++ $(CFLAGS) -o $(PROG)$(EXEEXT) $(SRCO) $(AST) $(RTOBJ) $(LDFLAGS) $(PLTPKGFLAGS)
$(CXX) $(CFLAGS) -o $(PROG)$(EXEEXT) $(SRCO) $(AST) $(RTOBJ) $(LDFLAGS) $(PLTPKGFLAGS)
2 changes: 1 addition & 1 deletion Compiler/omc_profiler/Makefile.in
Expand Up @@ -42,4 +42,4 @@ include $(srcdir)/Makefile.compiler_subdirs.common
# You're using the proper Unix Makefile. Thanks for making my life easier.

$(PROG): $(SRCO) $(SUBDIRS) $(top_builddir)/c_runtime/sendData/*.cpp
g++ $(CFLAGS) -o $(PROG)$(EXEEXT) $(SRCO) $(AST) $(RTOBJ) $(LDFLAGS) $(PLTPKGFLAGS)
$(CXX) $(CFLAGS) -o $(PROG)$(EXEEXT) $(SRCO) $(AST) $(RTOBJ) $(LDFLAGS) $(PLTPKGFLAGS)
2 changes: 1 addition & 1 deletion Compiler/omc_release/Makefile.in
Expand Up @@ -42,4 +42,4 @@ include $(srcdir)/Makefile.compiler_subdirs.common
# You're using the proper Unix Makefile. Thanks for making my life easier.

$(PROG): $(SRCO) $(SUBDIRS) $(top_builddir)/c_runtime/sendData/*.cpp
g++ $(CFLAGS) -o $(PROG)$(EXEEXT) $(SRCO) $(AST) $(RTOBJ) $(LDFLAGS)
$(CXX) $(CFLAGS) -o $(PROG)$(EXEEXT) $(SRCO) $(AST) $(RTOBJ) $(LDFLAGS)
2 changes: 1 addition & 1 deletion c_runtime/Makefile.in
Expand Up @@ -10,7 +10,7 @@ builddir_lib=$(top_builddir)/build/lib/omc
builddir_inc=$(top_builddir)/build/include/omc

CC := @CC@
CXX := @CC@
CXX := @CXX@
CFLAGS := @CFLAGS@

LIBF2CMAKEFILE = makefile.u
Expand Down

0 comments on commit 5d15256

Please sign in to comment.