projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: fix checks for GCC11
[openwrt/openwrt.git]
/
include
/
prereq-build.mk
diff --git
a/include/prereq-build.mk
b/include/prereq-build.mk
index 8a6c4bb4684013d343e1f03f1b1ea995a68b9216..bbeba3f8ff6a8c91ae353326fc161c729aa7aa42 100644
(file)
--- a/
include/prereq-build.mk
+++ b/
include/prereq-build.mk
@@
-26,8
+26,8
@@
$(eval $(call TestHostCommand,proper-umask, \
ifndef IB
$(eval $(call SetupHostCommand,gcc, \
Please install the GNU C Compiler (gcc) 6 or later, \
ifndef IB
$(eval $(call SetupHostCommand,gcc, \
Please install the GNU C Compiler (gcc) 6 or later, \
- $(CC) -dumpversion | grep -E '^([6-9]\.?|1
0
\.?)', \
- gcc -dumpversion | grep -E '^([6-9]\.?|1
0
\.?)', \
+ $(CC) -dumpversion | grep -E '^([6-9]\.?|1
[0-9]
\.?)', \
+ gcc -dumpversion | grep -E '^([6-9]\.?|1
[0-9]
\.?)', \
gcc --version | grep -E 'Apple.(LLVM|clang)' ))
$(eval $(call TestHostCommand,working-gcc, \
gcc --version | grep -E 'Apple.(LLVM|clang)' ))
$(eval $(call TestHostCommand,working-gcc, \
@@
-38,8
+38,8
@@
$(eval $(call TestHostCommand,working-gcc, \
$(eval $(call SetupHostCommand,g++, \
Please install the GNU C++ Compiler (g++) 6 or later, \
$(eval $(call SetupHostCommand,g++, \
Please install the GNU C++ Compiler (g++) 6 or later, \
- $(CXX) -dumpversion | grep -E '^([6-9]\.?|1
0
\.?)', \
- g++ -dumpversion | grep -E '^([6-9]\.?|1
0
\.?)', \
+ $(CXX) -dumpversion | grep -E '^([6-9]\.?|1
[0-9]
\.?)', \
+ g++ -dumpversion | grep -E '^([6-9]\.?|1
[0-9]
\.?)', \
g++ --version | grep -E 'Apple.(LLVM|clang)' ))
$(eval $(call TestHostCommand,working-g++, \
g++ --version | grep -E 'Apple.(LLVM|clang)' ))
$(eval $(call TestHostCommand,working-g++, \