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

Makefile: updates and fixes #248

Merged
merged 1 commit into from
Nov 9, 2023
Merged

Makefile: updates and fixes #248

merged 1 commit into from
Nov 9, 2023

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Nov 9, 2023

  • add TRURL_IGNORE_CURL_CONFIG option to avoid reading
    curl-config. This allows to specify curl bits manually without
    unexpectedly picking up system curl bits.

  • allow to disable debug info by passing NDEBUG=1.

  • drop -std=gnu99 from CFLAGS. This decision should be up to the
    builder, in sync with the curl (and its dependencies) linked to trurl.
    curl doesn't build with this option by default and mixing objects with
    different settings may break the ABI.

  • accept LDLIBS from the environment.

  • one whitespace tidy-up.

Closes #248

- add `TRURL_IGNORE_CURL_CONFIG` to avoid reading `curl-config`.
  This allows to specify curl bits manually without unexpectedly
  picking up system curl bits too.

- allow to disable debug info by passing `NDEBUG=1`.

- drop `-std=gnu99` from `CFLAGS`. This decision should be up to the
  builder, in sync with the curl (and its dependencies) linked to trurl.
  curl doesn't build with this option by default and mixing objects with
  different settings may break the ABI.

- accept `LDLIBS` from the environment.

- one whitespace tidy-up.

Closes #xxx
@vszakats vszakats added bug Something isn't working enhancement New feature or request labels Nov 9, 2023
@bagder bagder merged commit 1cf986e into curl:master Nov 9, 2023
9 checks passed
@bagder
Copy link
Member

bagder commented Nov 9, 2023

Thanks!

@vszakats vszakats deleted the make-updates branch November 9, 2023 17:16
vszakats added a commit to curl/curl-for-win that referenced this pull request Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants