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

how to make the CFLAGS="-DSN_SELECTION_RTT into Makefile and take effect? #862

Closed
galaxyskyknight opened this issue Oct 20, 2021 · 2 comments
Labels

Comments

@galaxyskyknight
Copy link

galaxyskyknight commented Oct 20, 2021

Seems I add it to Makefile separately doesn't take any effect but only works by using "./configure CFLAGS="-DSN_SELECTION_RTT""? who can teach me how to make this consolidate in make file?

@hamishcoleman
Copy link
Collaborator

hamishcoleman commented Oct 20, 2021

Can you explain why using the configure step to add this is not suitable for you?

If you wish to edit the Makefile to add this flag, you can look for the line that begins with CFLAGS= and append it to there - but remember it will be overwritten each time you run configure.

The current Makefile also has a number of environment variables that it appends to the CFLAGS - so if you were to set OPTIONS=-DSN_SELECTION_RTT on the make command line, that would also work.

@Logan007
Copy link
Collaborator

considered deprecated as of #864, closing

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

No branches or pull requests

3 participants