简体   繁体   中英

XCode 8 Linker (ld) suppress warnings

I am attempting to suppress all linker warnings on a particular target of a particular project. I added the following line to my config file:

WARNING_LDFLAGS = -w

However, there is no '-w' emitted in the ld call that XCode runs. What am I doing wrong?

Answering my own question. Apparently WARNING_LDFLAGS is the wrong option. When I used OTHER_LDFLAGS it worked.

OTHER_LDFLAGS = -w

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM