Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TARGET_ARCH environment variable interferes with default C compiler rule #705

Open
fhunleth opened this issue Feb 18, 2022 · 0 comments
Open

Comments

@fhunleth
Copy link
Member

The default C compiler rule for make uses the $TARGET_ARCH variable. Here's the definition:

   "COMPILE.c", "$(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH)",

http://git.savannah.gnu.org/cgit/make.git/tree/src/default.c#n480

This results in a bad gcc invocation for Makefile's using the default rule.

I'm pretty sure that the only fix to this is to rename TARGET_ARCH in Nerves to something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant