File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1028,6 +1028,7 @@ elif run_os in ['windows-msvc']:
10281028 config .target_shared_library_suffix = '.dll'
10291029 config .target_sdk_name = 'windows'
10301030 config .target_runtime = 'native'
1031+ config .target_cc_options = ""
10311032
10321033 config .target_build_swift = \
10331034 ('%r -target %s %s %s %s %s -libc %s' % \
@@ -1202,6 +1203,7 @@ elif run_os == 'linux-androideabi' or run_os == 'linux-android':
12021203 target_specific_module_triple = re .sub (r'androideabi' , 'android' ,
12031204 target_specific_module_triple )
12041205 config .variant_triple = re .sub (r'androideabi' , 'android' , config .variant_triple )
1206+ config .target_cc_options = "-fPIE"
12051207 def get_architecture_value (** kwargs ):
12061208 result = kwargs [run_cpu ]
12071209 if result is None :
You can’t perform that action at this time.
0 commit comments