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

feat: include environment CFLAGS for make #97

Merged
merged 1 commit into from
Feb 5, 2023
Merged

feat: include environment CFLAGS for make #97

merged 1 commit into from
Feb 5, 2023

Conversation

adrian5
Copy link
Contributor

@adrian5 adrian5 commented Feb 4, 2023

This allows the user to pass their own flags. I wanted to pass -march=native -mtune=native (the fzf binary runs locally by design, so why not), but the Makefile overrides CFLAGS.

With the change, one can easily use e.g. this in nvim:

build = "CFLAGS='-flag=foo -flag=bar' make"

With cmake (…) -DCMAKE_C_FLAGS='-flag=foo -flag=bar' -DCMAKE_BUILD_TYPE=Release (…) should already work as-is.

@Conni2461 Conni2461 merged commit 580b6c4 into nvim-telescope:main Feb 5, 2023
@Conni2461
Copy link
Member

thanks :)

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

Successfully merging this pull request may close these issues.

None yet

2 participants