Thanks for your contribution! Please follow the new upstream GIT repository where I have already applied your fix: https://github.com/knik0/faad2
Debian now patches this into their packages: https://salsa.debian.org/multimedia-team/lame/-/blob/master/debian/patches/pkg-config.patch
https://github.com/coelckers/prboom-plus/commit/1a081d10e6c71a5b5b2db76081227677f06b47b3
libmp3lame will need to have its SONAME bumped because of this. It's an ABI-incompatible change!
I have just tested the curent trunk with gcc.exe (Rev2, Built by MSYS2 project) 9.3.0 Optimization flags are now applied. However I had to remove "lame_init_old" from include/libmp3lame.sym in order to get it to compile: --- include/libmp3lame.sym (Revision 6455) +++ include/libmp3lame.sym (Arbeitskopie) @@ -1,5 +1,4 @@ lame_init -lame_init_old lame_set_num_samples lame_get_num_samples lame_set_in_samplerate
https://github.com/knik0/faad2/commit/7c3e60a51492f6a88525d0c419d1841920aab987
faad -i has typo in ‘Title’: ‘Tille’
faac2: build fix with wl,asneeded gcc flag on i386