fix 64bit compile with old gcc
authorRobin Gareus <robin@gareus.org>
Thu, 23 Oct 2014 18:34:44 +0000 (20:34 +0200)
committerRobin Gareus <robin@gareus.org>
Thu, 23 Oct 2014 18:42:02 +0000 (20:42 +0200)
libs/backends/jack/wscript

index edb9cb1850549ae5fd1bf3d7835da3117fbab7e7..3f99a2127e842bfa69f3612c31aa8549e1ffba3c 100644 (file)
@@ -62,6 +62,8 @@ def build(bld):
                    ]
     obj.use      = 'libardour libpbd ardouralsautil'
     obj.install_path  = os.path.join(bld.env['LIBDIR'], 'backends')
+    obj.cxxflags = [ '-fPIC' ]
+    obj.cflags   = [ '-fPIC' ]
 
     if (bld.env['build_target'] == 'mingw'):
         obj.uselib   = [ 'PORTAUDIO' ]