-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathLLVM_GCC.xcspec.in
47 lines (43 loc) · 1.47 KB
/
LLVM_GCC.xcspec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/**
Xcode Compiler Specification for GCC @GCC_VERSION_MAJOR@.@GCC_VERSION_MINOR@
*/
{ Type = Compiler;
Identifier = com.apple.compilers.llvm.gcc@GCC_VERSION_MAJOR@@GCC_VERSION_MINOR@;
BasedOn = com.apple.compilers.gcc.@GCC_VERSION_MAJOR@_@GCC_VERSION_MINOR@;
Name = "Mac Ports GCC @GCC_VERSION_MAJOR@.@GCC_VERSION_MINOR@";
Version = "@GCC_VERSION_MAJOR@.@GCC_VERSION_MINOR@";
Description = "Mac Ports GCC Compiler @GCC_VERSION_MAJOR@.@GCC_VERSION_MINOR@";
ExecPath = "/opt/local/bin/gcc-mp"; // This gets converted to the C++ variant automatically
IsAbstract = NO;
ShowInCompilerSelectionPopup = YES;
IsNoLongerSupported = NO;
PrecompStyle = pch;
SupportsPredictiveCompilation = Yes;
SupportsHeadermaps = No;
SupportsSeparateUserHeaderPaths = Yes;
SupportsSymbolSeparation = Yes;
SupportsMacOSXDeploymentTarget = Yes;
SupportsMacOSXMinVersionFlag = Yes;
SupportsIsysroot = Yes;
DashIFlagAcceptsHeadermaps = Yes;
UseCPlusPlusCompilerDriverWhenBundlizing = Yes;
Options = (
// Code generation
{
Name = LLVM_LTO;
Type = Boolean;
DefaultValue = NO;
CommandLineArgs = {
YES = (
"-flto",
);
NO = ();
};
Architectures = (
i386,
x86_64,
);
Category = CodeGeneration;
},
);
}