cflags专题

pip安装mysqlclient报错 Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS

话不多说,报错如下: × Getting requirements to build wheel did not run successfully.│ exit code: 1╰─> [24 lines of output]Trying pkg-config --exists mysqlclientCommand 'pkg-config --exists mysqlclient' retur

源码编译zlib-1.2.3.tar.bz2时,需要指定CFLAGS=-march=loongson232,会以+=传进Makefile

在源码编译zlib-1.2.3.tar.bz2时, CC=mips-wrs-linux-gnu-gcc  ./configure  make   出现error:opcode not support in this processor mips1 ‘movz ’$1 $...  解决方法: 在configure时,指定CFLAGS="-march=loongson232"即可。 即C