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

Better handling of CFLAGS in Makefile #838

Merged
merged 2 commits into from
Dec 2, 2022

Conversation

tleedjarv
Copy link
Contributor

More details in commit messages.

Fix two issues with CFLAGS use in the Makefile.

First, CFLAGS was only passed to compiler when linking (used more like
LDFLAGS).

Second, CFLAGS is intended for a C compiler and can't be passed directly
to OCaml compiler. Ignore user-provided CFLAGS for now.
The OCaml compiler will pass these flags to the C compiler.
@gdt gdt merged commit 9978d3c into bcpierce00:master Dec 2, 2022
@tleedjarv tleedjarv deleted the makefile-cflags branch December 3, 2022 20:00
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.

2 participants