Skip to content

Commit

Permalink
Pass the CC since antlr uses different typedefs and includes dependin…
Browse files Browse the repository at this point in the history
…g on compiler

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@18869 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Jan 30, 2014
1 parent 0b92789 commit c5cb366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Parser/Makefile.common
Expand Up @@ -17,7 +17,7 @@ install: libantlr3.a libomparse.a
cp libantlr3.a libomparse.a ../build/lib/omc/

$(ANTLR)/antlr3config.h: $(ANTLR)/antlr3config.h.in $(ANTLR)/configure
(cd $(ANTLR) && ./configure --enable-64bit)
(cd $(ANTLR) && ./configure --enable-64bit CC="$(CC)")
libantlr3.a: $(ANTLR)/src/*.c $(ANTLR)/include/*.h $(ANTLR)/antlr3config.h
# build the library
$(CC) ${CFLAGS} ${CPPFLAGS} -c $(ANTLR)/src/*.c -I$(ANTLR)/include -I$(ANTLR)
Expand Down

0 comments on commit c5cb366

Please sign in to comment.