paul@68 | 1 | Description: Put the compilation flags in a standard configuration location. |
paul@68 | 2 | Author: Paul Boddie <paul@boddie.org.uk> |
paul@67 | 3 | --- a/shedskin/makefile.py |
paul@67 | 4 | +++ b/shedskin/makefile.py |
paul@67 | 5 | @@ -67,7 +67,7 @@ |
paul@67 | 6 | elif getgx().msvc: flags = connect_paths(getgx().sysdir, 'FLAGS.msvc') |
paul@67 | 7 | elif sys.platform == 'win32': flags = connect_paths(getgx().sysdir, 'FLAGS.mingw') |
paul@67 | 8 | elif sys.platform == 'darwin': flags = connect_paths(getgx().sysdir, 'FLAGS.osx') |
paul@67 | 9 | - else: flags = connect_paths(getgx().sysdir, 'FLAGS') |
paul@67 | 10 | + else: flags = '/etc/shedskin/FLAGS' # use a common location on Debian |
paul@67 | 11 | |
paul@67 | 12 | for line in file(flags): |
paul@67 | 13 | line = line[:-1] |