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']:
1028
1028
config .target_shared_library_suffix = '.dll'
1029
1029
config .target_sdk_name = 'windows'
1030
1030
config .target_runtime = 'native'
1031
+ config .target_cc_options = ""
1031
1032
1032
1033
config .target_build_swift = \
1033
1034
('%r -target %s %s %s %s %s -libc %s' % \
@@ -1202,6 +1203,7 @@ elif run_os == 'linux-androideabi' or run_os == 'linux-android':
1202
1203
target_specific_module_triple = re .sub (r'androideabi' , 'android' ,
1203
1204
target_specific_module_triple )
1204
1205
config .variant_triple = re .sub (r'androideabi' , 'android' , config .variant_triple )
1206
+ config .target_cc_options = "-fPIE"
1205
1207
def get_architecture_value (** kwargs ):
1206
1208
result = kwargs [run_cpu ]
1207
1209
if result is None :
You can’t perform that action at this time.
0 commit comments