blob: 9b0942c448ef9fdfbc2c72e3941c39ee4a72df4e (
plain)
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
|
$NetBSD: patch-ah,v 1.1.1.1 2004/01/24 08:43:28 xtraeme Exp $
--- config/cf/linux.cf.in.orig 2003-07-24 05:18:24.000000000 +0200
+++ config/cf/linux.cf.in 2003-07-24 05:20:54.000000000 +0200
@@ -555,15 +555,15 @@
# if defined (i386Architecture) && ((GccMajorVersion >3) \
|| ((GccMajorVersion == 3) && (GccMinorVersion >= 1)))
# ifndef CcCmd
-# define CcCmd gcc -m32
+# define CcCmd @@PKGSRC_CC@@
# endif
# ifndef CplusplusCmd
-# define CplusplusCmd c++ -m32
+# define CplusplusCmd @@PKGSRC_CXX@@
# endif
# endif
# ifndef CcCmd
-# define CcCmd gcc
-# define CplusplusCmd c++
+# define CcCmd @@PKGSRC_CC@@
+# define CplusplusCmd @@PKGSRC_CXX@@
# endif
# ifndef AsCmd
# define AsCmd CcCmd -c -x assembler
@@ -715,7 +715,6 @@
#define YaccCmd bison -y
#define LexCmd flex -l
#define HasFlex YES
-#define LexLib -lfl
#define PreProcessCmd CcCmd -E
#define PostIncDir DefaultGccIncludeDir
#define LdCombineFlags -r
@@ -775,7 +774,7 @@
#ifdef i386Architecture
# ifndef OptimizedCDebugFlags
-# define OptimizedCDebugFlags DefaultGcc2i386Opt
+# define OptimizedCDebugFlags @@PKGSRC_CFLAGS@@
# endif
# define LinuxMachineDefines -D__i386__
# define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DPART_NET
|