File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
88### Changed
99- Improved install scripts
1010- Refactored tests
11+ - Added re2c check to install script
1112
1213### Fixed
1314- Fixed ` mod-assign ` operator recognition
Original file line number Diff line number Diff line change @@ -37,6 +37,17 @@ if [ x"$GCC_BIN" = x ]; then
3737 exit 1
3838fi
3939
40+ re2c_vernum=` re2c --vernum 2> /dev/null`
41+ if test -z " $re2c_vernum " ; then
42+ echo " error: unable to locate the re2c"
43+ exit 1
44+ fi
45+
46+ if test " $re2c_vernum " -lt " 1306" ; then
47+ echo " error: minimal required version of re2c is 0.13.6"
48+ exit 1
49+ fi
50+
4051# Check best compilation flags for compiler
4152export CC=gcc
4253export CFLAGS=" -march=native -mtune=native -O2 -fomit-frame-pointer"
You can’t perform that action at this time.
0 commit comments