1
0
Fork 0
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:
Jon Trulson 2018-04-11 15:36:16 -06:00
parent 4ddbc11557
commit 7d77cc21e0

View file

@ -160,7 +160,8 @@ TIRPCLIB =
#endif #endif
#if !defined(DefaultGcc2i386Opt) #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 #endif
#if LinuxCLibMajorVersion < 6 #if LinuxCLibMajorVersion < 6