mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Bug 1903369 - Move _COMPILATION_CFLAGS assignment at the end of the file r=glandium
Otherwise some add_flag calls are not honored Differential Revision: https://phabricator.services.mozilla.com/D214151
This commit is contained in:
parent
a6ddd64e95
commit
449beca933
@ -93,15 +93,6 @@ def add_icf_flags(compilation_flags, linker_flags, add_addrsig_flag):
|
||||
linker_flags.ldflags.append("-Wl,--icf=safe")
|
||||
|
||||
|
||||
# Please keep these last in this file.
|
||||
add_old_configure_assignment("_COMPILATION_CFLAGS", compilation_flags.cflags)
|
||||
add_old_configure_assignment("_COMPILATION_CXXFLAGS", compilation_flags.cxxflags)
|
||||
add_old_configure_assignment("_COMPILATION_HOST_CFLAGS", compilation_flags.host_cflags)
|
||||
add_old_configure_assignment(
|
||||
"_COMPILATION_HOST_CXXFLAGS", compilation_flags.host_cxxflags
|
||||
)
|
||||
|
||||
|
||||
option(
|
||||
"--disable-new-pass-manager",
|
||||
help="Use the legacy LLVM pass manager in clang builds",
|
||||
@ -423,3 +414,10 @@ add_old_configure_assignment(
|
||||
"_COMPILATION_OPTIMIZE_LDFLAGS", linker_optimize_flags.ldflags
|
||||
)
|
||||
add_old_configure_assignment("_COMPILATION_HOST_LDFLAGS", linker_flags.host_ldflags)
|
||||
|
||||
add_old_configure_assignment("_COMPILATION_CFLAGS", compilation_flags.cflags)
|
||||
add_old_configure_assignment("_COMPILATION_CXXFLAGS", compilation_flags.cxxflags)
|
||||
add_old_configure_assignment("_COMPILATION_HOST_CFLAGS", compilation_flags.host_cflags)
|
||||
add_old_configure_assignment(
|
||||
"_COMPILATION_HOST_CXXFLAGS", compilation_flags.host_cxxflags
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user