@@ -3811,21 +3811,21 @@ void DefineRootclingOptions(ROOT::RCmdLineOpts &opts)
38113811 opts.AddFlag ({" --lib-list-prefix" }, FT ::kWithArg , " An ACLiC feature which exports the list of dependent libraries." );
38123812 opts.AddFlag ({" -rmf" }, FT ::kWithArg , " Generate a rootmap file with the specified name." );
38133813 opts.AddFlag ({" -s" }, FT ::kWithArg , " The path to the library of the built dictionary." );
3814- opts.AddFlag ({" -isysroot" }, FT ::kWithArg , " Specify an isysroot." );
3814+ opts.AddFlag ({" -isysroot" }, FT ::kWithArg , " Specify an isysroot." , FO :: kFlagPrefixArg );
38153815
38163816 // flags with repeated args
38173817 opts.AddFlag ({" -rml" }, FT ::kWithArg , " Generate rootmap file." , FO ::kFlagAllowMultiple );
38183818 opts.AddFlag ({" -moduleMapFile" }, FT ::kWithArg , " Specify a C++ modulemap file." , FO ::kFlagAllowMultiple );
38193819 opts.AddFlag ({" -m" }, FT ::kWithArg , " The list of dependent modules of the dictionary." , FO ::kFlagAllowMultiple );
38203820 opts.AddFlag ({" -excludePath" }, FT ::kWithArg , " Do not store the <path> in the dictionary." , FO ::kFlagAllowMultiple );
38213821 opts.AddFlag ({" -isystem" }, FT ::kWithArg , " Specify a system include path." , FO ::kFlagAllowMultiple );
3822- opts.AddFlag ({" -I" }, FT ::kWithArg , " Specify an include path." , FO ::kFlagAllowMultiple );
3822+ opts.AddFlag ({" -I" }, FT ::kWithArg , " Specify an include path." , FO ::kFlagAllowMultiple | FO :: kFlagPrefixArg );
38233823 opts.AddFlag ({" --compilerI" }, FT ::kWithArg ,
38243824 " Specify a compiler default include path, to suppress unneeded `-isystem` arguments." ,
3825- FO ::kFlagAllowMultiple );
3826- opts.AddFlag ({" -D" }, FT ::kWithArg , " Specify defined macros." , FO ::kFlagAllowMultiple );
3827- opts.AddFlag ({" -U" }, FT ::kWithArg , " Specify undefined macros." , FO ::kFlagAllowMultiple );
3828- opts.AddFlag ({" -W" }, FT ::kWithArg , " Specify compiler diagnostics options." , FO ::kFlagAllowMultiple );
3825+ FO ::kFlagAllowMultiple | FO :: kFlagPrefixArg );
3826+ opts.AddFlag ({" -D" }, FT ::kWithArg , " Specify defined macros." , FO ::kFlagAllowMultiple | FO :: kFlagPrefixArg );
3827+ opts.AddFlag ({" -U" }, FT ::kWithArg , " Specify undefined macros." , FO ::kFlagAllowMultiple | FO :: kFlagPrefixArg );
3828+ opts.AddFlag ({" -W" }, FT ::kWithArg , " Specify compiler diagnostics options." , FO ::kFlagAllowMultiple | FO :: kFlagPrefixArg );
38293829 opts.AddFlag ({" -mByproduct" }, FT ::kWithArg ,
38303830 " The list of the expected implicit modules build as part of building the current module." ,
38313831 FO ::kFlagAllowMultiple );
0 commit comments