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 f392a7d commit 73cd91eCopy full SHA for 73cd91e
packaging/homebrew/mfc.rb
@@ -41,14 +41,14 @@ def install
41
# Configure Cantera build
42
# Cantera's scons needs explicit compiler selection and environment variables
43
sdk_path = MacOS.sdk_path
44
-
+
45
# Set environment variables that scons will use during compiler checks
46
ENV["CC"] = ENV.cc
47
ENV["CXX"] = ENV.cxx
48
ENV["CFLAGS"] = "-isysroot#{sdk_path}"
49
ENV["CXXFLAGS"] = "-isysroot#{sdk_path} -stdlib=libc++"
50
ENV["SDKROOT"] = sdk_path.to_s
51
52
# Run scons, explicitly telling it which compilers to use
53
system(
54
{ "SDKROOT" => sdk_path.to_s },
0 commit comments