Skip to content
Snippets Groups Projects
Commit aa4372b0 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Use cc, not gcc for --build detection

parent da9627ea
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -33,7 +33,7 @@ ifneq ($(os),linux)
JS_CONFIGURE_ARGS += '--disable-tracejit'
endif
endif
JS_CONFIGURE_ARGS += --build=$(shell gcc -v 2>&1 | awk '/^Target:/ {print $$2}')
JS_CONFIGURE_ARGS += --build=$(shell cc -v 2>&1 | awk '/^Target:/ {print $$2}')
JS_CONFIGURE_ARGS += --host=$(shell $(CC) -v 2>&1 | awk '/^Target:/ {print $$2}')
JS_CONFIGURE_ARGS += --target=$(shell $(CC) -v 2>&1 | awk '/^Target:/ {print $$2}')
ifeq ($(os),darwin)
......
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