From c5eca03544b88677be05917df94285a104b487c0 Mon Sep 17 00:00:00 2001 From: Nicholas Vinson Date: Sat, 6 Jan 2024 21:41:52 -0500 Subject: [PATCH] libatopology: Remove version-script flags Review of Versions.in does not list any symbols defined in the libatopology library. Naming undefined symbols in a version script causes build failures with ld.lld when using default flags. --- src/topology/Makefile.am | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/topology/Makefile.am b/src/topology/Makefile.am index 9f48891f..b1bc10f1 100644 --- a/src/topology/Makefile.am +++ b/src/topology/Makefile.am @@ -1,11 +1,5 @@ COMPATNUM=@LIBTOOL_VERSION_INFO@ -if VERSIONED_SYMBOLS -VSYMS = -Wl,--version-script=../Versions -else -VSYMS = -endif - if SYMBOLIC_FUNCTIONS SYMFUNCS = -Wl,-Bsymbolic-functions else @@ -15,7 +9,7 @@ endif lib_LTLIBRARIES = libatopology.la libatopology_la_LIBADD = ../libasound.la -libatopology_la_LDFLAGS = -version-info $(COMPATNUM) $(VSYMS) $(SYMFUNCS) $(LDFLAGS_NOUNDEFINED) +libatopology_la_LDFLAGS = -version-info $(COMPATNUM) $(SYMFUNCS) $(LDFLAGS_NOUNDEFINED) libatopology_la_SOURCES =\ parser.c \