Skip to content
Snippets Groups Projects
Commit 1883949d authored by Felix Fietkau's avatar Felix Fietkau
Browse files

add better working-g++ check (patch from #2017)

SVN-Revision: 8118
parent 50d052a1
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,8 @@ $(eval $(call Require,working-gcc, \ ...@@ -52,7 +52,8 @@ $(eval $(call Require,working-gcc, \
define Require/working-g++ define Require/working-g++
echo 'int main(int argc, char **argv) { return 0; }' | \ echo 'int main(int argc, char **argv) { return 0; }' | \
g++ -x c++ -o $(TMP_DIR)/a.out -lstdc++ - g++ -x c++ -o $(TMP_DIR)/a.out -lstdc++ - && \
$(TMP_DIR)/a.out
endef endef
$(eval $(call Require,working-g++, \ $(eval $(call Require,working-g++, \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment