mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
build: prereq-build.mk: fix gcc/g++ SetupHostCommand invocation
A missing comma caused the first command option to be considered part of the error message. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
1e48e56c50
commit
a6f4c7bce8
@ -27,7 +27,7 @@ $(eval $(call TestHostCommand,proper-umask, \
|
|||||||
umask | grep -xE 00[012][012]))
|
umask | grep -xE 00[012][012]))
|
||||||
|
|
||||||
$(eval $(call SetupHostCommand,gcc, \
|
$(eval $(call SetupHostCommand,gcc, \
|
||||||
Please install the GNU C Compiler (gcc) 4.8 or later \
|
Please install the GNU C Compiler (gcc) 4.8 or later, \
|
||||||
$(CC) -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \
|
$(CC) -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \
|
||||||
gcc -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \
|
gcc -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \
|
||||||
gcc48 --version | grep gcc, \
|
gcc48 --version | grep gcc, \
|
||||||
@ -46,7 +46,7 @@ $(eval $(call TestHostCommand,working-gcc, \
|
|||||||
gcc -x c -o $(TMP_DIR)/a.out -))
|
gcc -x c -o $(TMP_DIR)/a.out -))
|
||||||
|
|
||||||
$(eval $(call SetupHostCommand,g++, \
|
$(eval $(call SetupHostCommand,g++, \
|
||||||
Please install the GNU C++ Compiler (g++) 4.8 or later \
|
Please install the GNU C++ Compiler (g++) 4.8 or later, \
|
||||||
$(CXX) -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \
|
$(CXX) -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \
|
||||||
g++ -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \
|
g++ -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \
|
||||||
g++48 --version | grep g++, \
|
g++48 --version | grep g++, \
|
||||||
|
Loading…
Reference in New Issue
Block a user