Disable deprecated sigc++ APIs.
authorTaybin Rutkin <taybin@taybin.com>
Mon, 12 Feb 2007 21:41:00 +0000 (21:41 +0000)
committerTaybin Rutkin <taybin@taybin.com>
Mon, 12 Feb 2007 21:41:00 +0000 (21:41 +0000)
git-svn-id: svn://localhost/ardour2/branches/2.1-staging@1450 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/sigc++2/SConscript

index b29aefb0cd807a028e71b621de377ed0f91e1812..8536d115c022c98c9e7c3e5ae9073f6dbf573530 100644 (file)
@@ -9,6 +9,8 @@ sigc2_files = glob.glob('sigc++/*.cc') + glob.glob('sigc++/functors/*.cc') + glo
 Import('env install_prefix')
 sigc2 = env.Copy()
 
+sigc2.Append(CXXFLAGS='-DLIBSIGC_DISABLE_DEPRECATED')
+
 libsigc2 = sigc2.SharedLibrary('sigc++2', sigc2_files)
 
 if os.access ('autogen.sh', os.F_OK) :