@@ -159,7 +159,7 @@ Custom flags can be declared in the YAML file under the *Flags* section.
159159 - Name : multithreaded
160160 Values :
161161 - Name : no-multithreaded
162- DriverArgs : [-D__SINGLE_THREAD__ ]
162+ MacroDefines : [__SINGLE_THREAD__ ]
163163 - Name : multithreaded
164164 Default : no-multithreaded
165165
@@ -176,10 +176,8 @@ Each flag *Value* is defined as:
176176
177177* Name: name of the value. This is the string to be used in
178178 ``-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> ``.
183181
184182The namespace of flag values is common across all flags. This means that flag
185183value names must be unique.
@@ -302,10 +300,9 @@ For a more comprehensive example see
302300 Values :
303301 # Name of the custom flag value. To be used in -fmultilib-flag=<string>.
304302 - 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__]
309306 - Name : multithreaded
310307 # Default flag value. If no value for this flag declaration is used in the
311308 # command-line, the multilib system will use this one. Must be equal to one
0 commit comments