mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
linux.cf: Add -Wno-unused-result to C flags
There are several hundred of these and unless you intend to fix them, they are just compiler noise. If someone does want to go back and redo all of these, then they can just re-enable this warning.
This commit is contained in:
parent
4ddbc11557
commit
7d77cc21e0
1 changed files with 2 additions and 1 deletions
|
@ -160,7 +160,8 @@ TIRPCLIB =
|
|||
#endif
|
||||
|
||||
#if !defined(DefaultGcc2i386Opt)
|
||||
# define DefaultGcc2i386Opt -O2 -fno-strict-aliasing -Wno-write-strings
|
||||
# define DefaultGcc2i386Opt -O2 -fno-strict-aliasing -Wno-write-strings \
|
||||
-Wno-unused-result
|
||||
#endif
|
||||
|
||||
#if LinuxCLibMajorVersion < 6
|
||||
|
|
Loading…
Reference in a new issue