[crosstool-ng/crosstool-ng] bd0ea7: prevent the glibc build from overwriting flags

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[crosstool-ng/crosstool-ng] bd0ea7: prevent the glibc build from overwriting flags

Alexey Neyman-2
  Branch: refs/heads/master
  Home:   https://github.com/crosstool-ng/crosstool-ng
  Commit: bd0ea7ed21f140d4e911ff4a63693b54a455c349
      https://github.com/crosstool-ng/crosstool-ng/commit/bd0ea7ed21f140d4e911ff4a63693b54a455c349
  Author: Norbert Lange <[hidden email]>
  Date:   2019-10-27 (Sun, 27 Oct 2019)

  Changed paths:
    M scripts/build/libc/glibc.sh

  Log Message:
  -----------
  prevent the glibc build from overwriting flags

The glibc will append the content of the CFLAGS variable,
overriding previous flags.
If unset, the CFLAGS variable is not empty, so explicitly set it.
Instead prepend the default CFLAGS flags.

Signed-off-by: Norbert Lange <[hidden email]>


  Commit: 4fa0ba100b8924b27942ff253c5474c655427027
      https://github.com/crosstool-ng/crosstool-ng/commit/4fa0ba100b8924b27942ff253c5474c655427027
  Author: Alexey Neyman <[hidden email]>
  Date:   2020-02-16 (Sun, 16 Feb 2020)

  Changed paths:
    M scripts/build/libc/glibc.sh

  Log Message:
  -----------
  Merge pull request #1270 from nolange/prevent_glibc_cflags_override

prevent the glibc build from overwriting flags


Compare: https://github.com/crosstool-ng/crosstool-ng/compare/4897426202e5...4fa0ba100b89