-
Notifications
You must be signed in to change notification settings - Fork 533
Open
Description
Currently , the contents of any CFLAGS
or CXXFLAGS
environment variables are added to the build cmd prior to include_directories
that had been added using fn include
:
Lines 1766 to 1770 in be62f4a
if let Ok(flags) = self.envflags(if self.cpp { "CXXFLAGS" } else { "CFLAGS" }) { | |
for arg in flags { | |
cmd.push_cc_arg(arg.into()); | |
} | |
} |
This can result in conflicts if the specified includes need to come prior to the CFLAGS
includes.
We've worked around this by manually prepending includes to CFLAGS
(see aws/s2n-tls#4338), but it would be preferable for this to be configurable in cc
.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels