mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
linux.cf: use -fno-strict-aliasing, define DefaultGcc2i386Opt, use indenting to improve readability
This commit is contained in:
parent
de61ffa637
commit
cc5544354f
1 changed files with 56 additions and 51 deletions
|
@ -64,6 +64,7 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion)
|
|||
# error "Only ELF format is supported on linux"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BuildLibPathVar LD_LIBRARY_PATH
|
||||
#define HasGcc YES
|
||||
#define HasGcc2 YES
|
||||
|
@ -133,6 +134,10 @@ TIRPCLIB = -ltirpc
|
|||
TIRPCLIB =
|
||||
#endif
|
||||
|
||||
#if !defined(DefaultGcc2i386Opt)
|
||||
# define DefaultGcc2i386Opt -O2 -fno-strict-aliasing
|
||||
#endif
|
||||
|
||||
#if LinuxCLibMajorVersion < 6
|
||||
# define LinuxSourceDefines -D_POSIX_SOURCE \
|
||||
-D_BSD_SOURCE -D_SVID_SOURCE LinuxLocaleDefines
|
||||
|
@ -204,17 +209,17 @@ TIRPCLIB =
|
|||
#endif /* AMD64Architecture */
|
||||
|
||||
#ifdef PpcArchitecture
|
||||
#define OptimizedCDebugFlags -O2
|
||||
# define OptimizedCDebugFlags DefaultGcc2i386Opt
|
||||
# define LinuxMachineDefines -D__powerpc__
|
||||
#endif /* PpcArchitecture */
|
||||
|
||||
#ifdef AlphaArchitecture
|
||||
#define OptimizedCDebugFlags -O2
|
||||
# define OptimizedCDebugFlags DefaultGcc2i386Opt
|
||||
# define LinuxMachineDefines -D__alpha__
|
||||
#endif /* AlphaArchitecture */
|
||||
|
||||
#ifdef Mc68020Architecture
|
||||
#define OptimizedCDebugFlags -O2
|
||||
# define OptimizedCDebugFlags DefaultGcc2i386Opt
|
||||
# define LinuxMachineDefines -D__mc68000__
|
||||
# define StandardCppDefines -traditional
|
||||
#endif /* Mc68020Architecture */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue