diff options
author | Xi Ruoyao <xry111@mengyan1223.wang> | 2022-03-26 23:21:06 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@mengyan1223.wang> | 2022-03-26 23:25:36 +0800 |
commit | ab7af9e6f0b84495f5f8098da810727e51837c1e (patch) | |
tree | 9ea22a39eee495228a74f163432e92f22c7a1893 /chapter08/man-db.xml | |
parent | 827cc05c379bb251da3993f1ba316758ffdff87d (diff) |
libffi: reword the note about "building for another system"
Telling the user to override CFLAGS and CXXFLAGS may cause two problems:
1. We've added --with-gcc-arch=native, so the configure script will add
"-march=native" into CFLAGS. Then we've not really verified which
-march= value is the last one in the GCC command line and being really
used.
2. User may just export CFLAGS="-march=x86_64", without "-O2". This
will produce unoptimized binaries.
Diffstat (limited to 'chapter08/man-db.xml')
0 files changed, 0 insertions, 0 deletions