From 8ed33f1bc714c154914af922d26fe4234cd8edf4 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 14 Oct 2018 22:06:11 -0400 Subject: remove use of hardcoded -fPIC compiler flag, and use compiler flag dict instead --- libs/temporal/wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/temporal/wscript') diff --git a/libs/temporal/wscript b/libs/temporal/wscript index fc96d00b1b..84c638ab77 100644 --- a/libs/temporal/wscript +++ b/libs/temporal/wscript @@ -40,8 +40,8 @@ def build(bld): obj.defines = [ 'LIBTEMPORAL_DLL_EXPORTS=1' ] else: obj = bld.stlib(features = 'cxx cxxstlib', source=temporal_sources) - obj.cxxflags = [ '-fPIC' ] - obj.cflags = [ '-fPIC' ] + obj.cxxflags = [ bld.env['compiler_flags_dict']['pic'] ] + obj.cflags = [ bld.env['compiler_flags_dict']['pic'] ] obj.defines = [ ] obj.export_includes = ['.'] -- cgit v1.2.3