We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d15063 commit f6cc559Copy full SHA for f6cc559
recipes/luajit/all/conanfile.py
@@ -105,6 +105,10 @@ def _make_arguments(self):
105
if "clang" in str(self.settings.compiler):
106
args.append("DEFAULT_CC=clang")
107
108
+ # upstream doesn't read CPPFLAGS, inject them manually
109
+ cppflags = AutotoolsToolchain(self).environment().vars(self).get("CPPFLAGS")
110
+ args.append(f"TARGET_CFLAGS='{cppflags}'")
111
+
112
if self.settings.os == "Macos" and self._apple_deployment_target():
113
args.append(f"MACOSX_DEPLOYMENT_TARGET={self._apple_deployment_target()}")
114
elif self.settings.os == "iOS":
0 commit comments