blob: 7dd1df31613293d30b074a7892a55d2a489764fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/configure.py b/configure.py
index fcf9e7e..c0f72df 100755
--- a/configure.py
+++ b/configure.py
@@ -2351,6 +2351,8 @@ def create_template_vars(source_paths, build_paths, options, modules, disabled_m
# just transfer them over to just the compiler invocations
variables['cc_compile_flags'] = '%s %s' % (variables['cxx_abi_flags'], variables['cc_compile_flags'])
variables['cxx_abi_flags'] = ''
+ else:
+ variables['ldflags'] = '%s %s' % (variables['ldflags'], variables['cc_compile_flags'])
variables['lib_flags'] = cc.gen_lib_flags(options, variables)
|