Re: Cross compiling lame 3.100 fails on macOS 11.0
桃源老師 via Lame-dev <[email protected]> Tue, 8 Dec 2020 22:42:30 +0900
| Newsgroups | gmane.comp.audio.mp3.lame |
|---|---|
| Message-ID | <[email protected]> |
Hello Fabian-san, Thank you very much for your replay. > 2020/12/08 午後5:58、Fabian Greffrath <[email protected]>のメール: > > Hello, > > Am 2020-12-08 09:48, schrieb 桃源老師 via Lame-dev: >> OK. I'm now editing make file using Adobe Brackets. But I'm very >> happy if there is a way to edit before make file was created. (ex. at >> configure?) Are there any way to do so? > > yes, you may edit the offending code out of the configure.in template and re-generate the configure script by running "autoreconf -fiv". Thank you. I edited the following portion of configure.in: $ diff -u a/configure.in b/configure.in --- a/configure.in 2017-08-16 00:16:31.000000000 +0900 +++ b/configure.in 2020-12-08 19:41:52.000000000 +0900 @@ -935,8 +935,7 @@ -mtune=native" ;; *86) - OPTIMIZATION="${OPTIMIZATION} -march=native \ - -mtune=native" + OPTIMIZATION="${OPTIMIZATION}" ;; arm*-gnueabi) if [ -z "$(echo ${GCC_version} | awk '/4\.0/')" ]; then @@ -986,8 +985,7 @@ -mtune=native" ;; *86) - OPTIMIZATION="${OPTIMIZATION} -march=native \ - -mtune=native" + OPTIMIZATION="${OPTIMIZATION}" ;; esac And then with re-generated configure, I can cross compile lame! Best Regards, // Kimio Miyamura _______________________________________________ Lame-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lame-dev