Skip to content

Commit 4763888

Browse files
committed
Merge branch 'pic-in-target-cc-options' into extern-var
2 parents a7f349b + 5fd1807 commit 4763888

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/lit.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)