Skip to content

Remove CFG_CFLAGS in favor of CFG_JEMALLOC_CFLAGS_FLAGS #19045

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

Merged
merged 2 commits into from
Nov 18, 2014

Conversation

codyps
Copy link
Contributor

@codyps codyps commented Nov 17, 2014

  • CFG_CFLAGS is only used for jemalloc
  • We grew an extra set of flags for jemalloc (CFG_JEMALLOC_CFLAGS) in addition to CFG_CFLAGS
  • This kills of CFG_CFLAGS and keeps the more specific and less confusing CFG_JEMALLOC_CFLAGS
  • Additionally, pass CFG_JEMALLOC_CFLAGS to jemalloc's configure slightly differently so things work when people use --sysroot in their CFLAGS.

…_CFLAGS

i386-apple-ios already used CFG_JEMALLOC_CFLAGS, so merge that one
…FG_CFLAGS in EXTRA_CFLAGS

 - CFG_CFLAGS is gone (it was previously only used by jemalloc anyhow).
 - CFG_JEMALLOC_CFLAGS may contain flags needed for the compiler to
   function (produce a binary output).
 - jemalloc's configure runs $(CC) without EXTRA_CFLAGS, and (without
   this change) will fail if any flags are required for CC to work.
@codyps codyps changed the title Remove CFG_CFLAGS in favor of CFG_JEMALLOC_FLAGS Remove CFG_CFLAGS in favor of CFG_JEMALLOC_CFLAGS_FLAGS Nov 17, 2014
@bors bors merged commit 600cec1 into rust-lang:master Nov 18, 2014
@codyps codyps deleted the jemalloc-flags-2 branch November 18, 2014 07:04
lnicola pushed a commit to lnicola/rust that referenced this pull request Feb 10, 2025
fix: Fix a missing standard token in semantic highlighting
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.

3 participants