Created
July 12, 2018 07:39
-
-
Save gitsrc/8818515d7747a06f2cec821791a23987 to your computer and use it in GitHub Desktop.
configure 时-g 与 -O0 开关控制
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
变为-O0 选项,可以导出CFLAGS 变量,如下进行。 | |
export CFLAGS='-DGCC_HASCLASSVISIBILITY -O0 -Wall -W' | |
再重新配置,编译即可。 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment