mirror of
https://github.com/conan-io/conan-center-index.git
synced 2025-08-15 11:08:38 +00:00
(#3362) boost: no quotes around compiler (os.environ["CXX"])
* boost: split CXX into CXX + CXXFLAGS * boost: no quotes around compiler + pass CPPFLAGS as <compileflags>
This commit is contained in:

committed by
GitHub

parent
881f4c81ac
commit
f53c5aa3ad
@@ -879,7 +879,7 @@ class BoostConan(ConanFile):
|
||||
|
||||
# Specify here the toolset with the binary if present if don't empty parameter :
|
||||
contents += '\nusing "%s" : %s : ' % (self._toolset, self._toolset_version)
|
||||
contents += ' "%s"' % self._cxx.replace("\\", "/")
|
||||
contents += ' %s' % self._cxx.replace("\\", "/")
|
||||
|
||||
if tools.is_apple_os(self.settings.os):
|
||||
if self.settings.compiler == "apple-clang":
|
||||
@@ -896,6 +896,8 @@ class BoostConan(ConanFile):
|
||||
contents += '<cxxflags>"%s" ' % os.environ["CXXFLAGS"]
|
||||
if "CFLAGS" in os.environ:
|
||||
contents += '<cflags>"%s" ' % os.environ["CFLAGS"]
|
||||
if "CPPFLAGS" in os.environ:
|
||||
contents += '<compileflags>"%s" ' % os.environ["CPPFLAGS"]
|
||||
if "LDFLAGS" in os.environ:
|
||||
contents += '<linkflags>"%s" ' % os.environ["LDFLAGS"]
|
||||
if "ASFLAGS" in os.environ:
|
||||
|
Reference in New Issue
Block a user