summaryrefslogtreecommitdiffhomepage
path: root/musl.lzy
diff options
context:
space:
mode:
Diffstat (limited to 'musl.lzy')
-rw-r--r--musl.lzy3
1 files changed, 2 insertions, 1 deletions
diff --git a/musl.lzy b/musl.lzy
index 9152d04..1261c5f 100644
--- a/musl.lzy
+++ b/musl.lzy
@@ -19,7 +19,7 @@ lz_project_definitions()
musl_empty_lib_names="m rt pthread crypt util xnet resolv dl"
musl_cflags_crt="-fPIC"
- musl_cflags_shared="-fPIC -DSHARED"
+ musl_cflags_shared="-fPIC"
if [ "$lz_pecoff_winnt"x = yesx ]; then
pe_excluded_symbols="__libc_entry_point"
@@ -39,6 +39,7 @@ lz_project_definitions()
--exclude-symbols=$pe_excluded_symbols"
else
musl_libc_so_ldflags="-shared -e _start -Bsymbolic-functions"
+ musl_cflags_shared="$musl_cflags_shared -DSHARED"
fi
musl_libc_src_dirs="src arch/$lz_arch/src arch/$lz_arch/weak"