summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2017-03-15 00:07:23 +0100
committerLuca Barbato <lu_zero@gentoo.org>2017-03-15 20:24:52 +0100
commit0d8013b88b1cb7d65da891a8819d3beebafb9bb5 (patch)
tree5b8258ea54a22c0c42f651efc4b0aea87c627d13 /configure
parent681a86aba6cb09b98ad716d986182060c7795d20 (diff)
configure: Replace -no_weak_symbols with -Werror=partial-availability
Jack uses weak symbols on purpose.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index f915871b5c..665df27621 100755
--- a/configure
+++ b/configure
@@ -3948,7 +3948,7 @@ case $target_os in
SHFLAGS='-dynamiclib -Wl,-single_module -Wl,-install_name,$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR),-current_version,$(LIBVERSION),-compatibility_version,$(LIBMAJOR)'
enabled x86_32 && append SHFLAGS -Wl,-read_only_relocs,suppress
add_ldflags -Wl,-dynamic,-search_paths_first
- check_ldflags -Wl,-no_weak_imports
+ check_cflags -Werror=partial-availability
SLIBSUF=".dylib"
SLIBNAME_WITH_VERSION='$(SLIBPREF)$(NAME).$(LIBVERSION)$(SLIBSUF)'
SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(NAME).$(LIBMAJOR)$(SLIBSUF)'