blob: 7ed9394385040416679c687b19c68d68fbf13c6a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
--- config/cf/host.def.orig Wed Oct 22 16:15:12 2003
+++ config/cf/host.def Tue Nov 11 17:48:48 2003
@@ -8,18 +8,10 @@
/* Don't use any special flags by default, but leave this here commented out
* so people see how to if they want
*/
-/*
-#define DefaultGcc2AxpOpt -O2 -mcpu=ev6
-#define DefaultGcc2PpcOpt -O2 -mcpu=750
-#define DefaultGcc2i386Opt -O2
-#if defined(AlphaArchitecture)
-# define LibraryCDebugFlags -O2 -mcpu=ev6
-#elif defined(PpcArchitecture)
-# define LibraryCDebugFlags -O2 -mcpu=750
-#else
-# define LibraryCDebugFlags -O2
-#endif
-*/
+#define DefaultGcc2AxpOpt ${FBSDCFLAGS}
+#define DefaultGcc2PpcOpt ${FBSDCFLAGS}
+#define DefaultGcc2i386Opt ${FBSDCFLAGS}
+#define LibraryCDebugFlags ${FBSDCFLAGS}
#define BuildXFree86ConfigTools YES
@@ -43,15 +35,17 @@
#if defined(FreeBSDArchitecture) && defined(HasGcc3) && HasGcc3
#define NoSystemWarn -Wno-system-headers
+#define AliasingArg -fno-strict-aliasing
#else
#define NoSystemWarn
+#define AliasingArg
#endif
#define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations \
-Wredundant-decls -Wnested-externs -Wundef \
NoSystemWarn
-#define DefaultCCOptions -ansi -pedantic GccWarningOptions -pipe -g
+#define DefaultCCOptions AliasingArg GccWarningOptions
#define NormalLibGlx NO
|