commit 304d9dbd1b4a5706101fcd509935122d5085dcd3
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sat Apr 1 12:56:48 2023 +0100
fix
audacity-freeworld.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/audacity-freeworld.spec b/audacity-freeworld.spec
index 86fb3d5..220675e 100644
--- a/audacity-freeworld.spec
+++ b/audacity-freeworld.spec
@@ -95,6 +95,11 @@ rm -rf lib-src/{libvamp,libsoxr}/
touch include/RevisionIdent.h
%build
+# fix system lame detection
+export PKG_CONFIG_PATH=$(pwd):$PKG_CONFIG_PATH
+export CFLAGS="%{optflags} -fno-strict-aliasing -ggdb $(wx-config --cflags)"
+export CXXFLAGS="$CFLAGS -std=gnu++11"
+
%cmake \
-DCMAKE_MODULE_LINKER_FLAGS:STRING="$(wx-config --libs)" \
-DCMAKE_SHARED_LINKER_FLAGS:STRING="$(wx-config --libs)" \