summaryrefslogtreecommitdiffstats
path: root/src/config/linux.cf
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1993-12-01 22:40:27 +0000
committerTheodore Tso <tytso@mit.edu>1993-12-01 22:40:27 +0000
commitc045ecb74060d1bc283743e85e4bd88963173190 (patch)
tree2c0724bffb8c8102922e8178f83d05318dab980b /src/config/linux.cf
parent57285032ebb9fa8944566da92b3a618241d80710 (diff)
downloadkrb5-c045ecb74060d1bc283743e85e4bd88963173190.tar.gz
krb5-c045ecb74060d1bc283743e85e4bd88963173190.tar.xz
krb5-c045ecb74060d1bc283743e85e4bd88963173190.zip
Use a nasty hack to include the GCC include files so that makedepend
will find all of the necessary files. Use GCC with -pendantic -Wall to find problems git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3068 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/config/linux.cf')
-rw-r--r--src/config/linux.cf10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/config/linux.cf b/src/config/linux.cf
index c6bd3c5b94..453152ae20 100644
--- a/src/config/linux.cf
+++ b/src/config/linux.cf
@@ -33,7 +33,15 @@
/* makedepend won't understand -YPOSIX also implies -DPOSIX... */
/* #define MakeDependFlags -DPOSIX */
-/* #define DefaultCDebugFlags OptimizedCDebugFlags */
+#define DependFlags -I/usr/lib/gcc-lib/i486-linux/`gcc -v 2>&1 | sed -ne "s/gcc version //p"`/include
+
+#undef HasGcc
+#define HasGcc YES
+
+#undef CcCmd
+#define CcCmd gcc -pedantic -pipe -Wall -fpcc-struct-return
+#define OptimizedCDebugFlags -O3
+#define DefaultCDebugFlags OptimizedCDebugFlags
/* #undef HasNdbm */
#define HasNdbm YES