fluidsynth: workaround for linking multiple definitions

Multiple defintiions for some symbols such as PC are introduced
by readline and termcap. This causes GCC 10 linking error.

Related to:
    Default to -fno-common
    https://gcc.gnu.org/gcc-10/porting_to.html
pull/2452/merge
Mark Brand 4 years ago
parent 0451e18bd5
commit f534658abd

@ -26,6 +26,7 @@ define $(PKG)_BUILD
# compile test
'$(TARGET)-gcc' \
-W -Wall -Werror -ansi -pedantic \
-Wl,--allow-multiple-definition \
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-fluidsynth.exe' \
`'$(TARGET)-pkg-config' --cflags --libs fluidsynth`
endef

Loading…
Cancel
Save