@@ -159,7 +159,7 @@ Custom flags can be declared in the YAML file under the *Flags* section.
159
159
- Name : multithreaded
160
160
Values :
161
161
- Name : no-multithreaded
162
- DriverArgs : [-D__SINGLE_THREAD__ ]
162
+ MacroDefines : [__SINGLE_THREAD__ ]
163
163
- Name : multithreaded
164
164
Default : no-multithreaded
165
165
@@ -176,10 +176,8 @@ Each flag *Value* is defined as:
176
176
177
177
* Name: name of the value. This is the string to be used in
178
178
``-fmultilib-flag=<string> ``.
179
- * DriverArgs: a list of strings corresponding to the extra driver arguments
180
- used to build a library variant that's in accordance to this specific custom
181
- flag value. These arguments are fed back into the driver if this flag *Value *
182
- is enabled.
179
+ * MacroDefines: a list of strings to be used as macro definitions. Each string
180
+ is fed into the driver as ``-D<string> ``.
183
181
184
182
The namespace of flag values is common across all flags. This means that flag
185
183
value names must be unique.
@@ -302,10 +300,9 @@ For a more comprehensive example see
302
300
Values :
303
301
# Name of the custom flag value. To be used in -fmultilib-flag=<string>.
304
302
- Name : no-multithreaded
305
- # Extra driver arguments to be printed with -print-multi-lib. Useful for
306
- # specifying extra arguments for building the the associated library
307
- # variant(s).
308
- DriverArgs : [-D__SINGLE_THREAD__]
303
+ # Macro definitions. Useful for defining extra macros for building the
304
+ # associated library variant(s).
305
+ MacroDefines : [__SINGLE_THREAD__]
309
306
- Name : multithreaded
310
307
# Default flag value. If no value for this flag declaration is used in the
311
308
# command-line, the multilib system will use this one. Must be equal to one
0 commit comments