X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=SConstruct;h=8f4da1c292929685284bd4f3c9e1f75d90fa5801;hb=22a6637676dcb35af3906d42ea020027957604bd;hp=6c16622b2acbd2f724a6425438cbfadaa6dc0c60;hpb=322b64a27007c166bfe66b3489a29c3a11801708;p=senf.git diff --git a/SConstruct b/SConstruct index 6c16622..8f4da1c 100644 --- a/SConstruct +++ b/SConstruct @@ -146,6 +146,8 @@ env.SetDefault( LIBADDSUFFIX = '${FLAVOR and "_$FLAVOR" or ""}', OBJADDSUFFIX = '${LIBADDSUFFIX}', FLAVOR = '', + + PARSEFLAGS = '', ) # Set variables from command line @@ -158,6 +160,9 @@ senfutil.parseArguments( BoolVariable('sparse_tests', 'Link tests against object files and not the senf lib', False) ) +if env['PARSEFLAGS']: + env.MergeFlags(env['PARSEFLAGS']) + # Add UNIX env vars matching IMPORT_ENV patterns into the execution environment senfutil.importProcessEnv(env)