diff options
author | Slávek Banko <[email protected]> | 2019-09-11 14:42:15 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-09-11 14:42:34 +0200 |
commit | 1f0b9d60c6a0464678e6533d0bc72c5cb1da999d (patch) | |
tree | 5f84a224077f198d4c80120765d47a4453d874a2 /admin/generic.py | |
parent | 28509cc759a7717f7edfcdf9286e1dcf331a88b3 (diff) | |
download | kstreamripper-1f0b9d60c6a0464678e6533d0bc72c5cb1da999d.tar.gz kstreamripper-1f0b9d60c6a0464678e6533d0bc72c5cb1da999d.zip |
scons: Replace deprecated Options with Variables.
This resolves FTBFS with SCons >= 3.0.2.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 55c6a30f1ebdf6becbad274f38e951ca13f0a785)
Diffstat (limited to 'admin/generic.py')
-rw-r--r-- | admin/generic.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/generic.py b/admin/generic.py index e0fa6b1..1897bf0 100644 --- a/admin/generic.py +++ b/admin/generic.py @@ -56,10 +56,10 @@ ie: """+BOLD+"""scons configure debug=full prefix=/usr/local extraincludes=/tmp/ print(CYAN+'** Enabling DESTDIR for the project ** ' + NORMAL + env['DESTDIR']) # load the options - from SCons.Options import Options, PathOption + from SCons.Variables import Variables cachefile=env['CACHEDIR']+'generic.cache.py' - opts = Options(cachefile) - opts.AddOptions( + opts = Variables(cachefile) + opts.AddVariables( ( 'KDECCFLAGS', 'C flags' ), ( 'KDECXXFLAGS', 'debug level for the project : full or just anything' ), ( 'KDELINKFLAGS', 'additional link flags' ), |