Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=75a4e0e4905625c45dc0e05ee666c3d7da921076
commit 75a4e0e4905625c45dc0e05ee666c3d7da921076 Author: James Buren <[email protected]> Date: Wed Oct 8 19:54:39 2014 -0500 scons: add debug / static options diff --git a/SConstruct b/SConstruct index 01f9df6..0047311 100755 --- a/SConstruct +++ b/SConstruct @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python def CheckPKGConfig(ctx, version): ctx.Message('Checking for pkg-config... ') @@ -42,6 +42,38 @@ AddOption( default=1 ) +AddOption( + '--enable-static', + dest='static', + nargs='?', + const=1, + default=0 +) + +AddOption( + '--disable-static', + dest='static', + nargs='?', + const=0, + default=0 +) + +AddOption( + '--enable-debug', + dest='debug', + nargs='?', + const=1, + default=1 +) + +AddOption( + '--disable-debug', + dest='debug', + nargs='?', + const=0, + default=1 +) + env = Environment() cfg = Configure( _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
