openbsd-ports/sysutils/sdd/patches/patch-RULES_i386-openbsd-cc_rul
2002-07-21 01:00:18 +00:00

32 lines
1.0 KiB
Plaintext

$OpenBSD: patch-RULES_i386-openbsd-cc_rul,v 1.2 2002/07/21 01:00:19 naddy Exp $
--- RULES/i386-openbsd-cc.rul.orig Sun Aug 29 16:09:56 1999
+++ RULES/i386-openbsd-cc.rul Sun Jul 21 02:55:50 2002
@@ -30,7 +30,7 @@ CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR)
COPTS=
CWOPTS= -Wall -Wtraditional \
-Wshadow -Wmissing-prototypes -Wstrict-prototypes
-COPTOPT= -O
+COPTOPT=
KDEFINES= -DKERNEL -D_KERNEL
COPTDYN= -fpic
COPTGPROF= -pg
@@ -57,14 +57,14 @@ LNDYNLIB= @$(SYMLINK) $(TARGET) $(PTARGE
FLOAT_OPTIONS=
-CC= @echo " ==> COMPILING \"$@\""; gcc
-LDCC= @echo " ==> LINKING \"$@\""; gcc
-DYNLD= @echo " ==> LINKING dynamic library \"$@\""; gcc
+CC= @echo " ==> COMPILING \"$@\""; ${CCOM}
+LDCC= @echo " ==> LINKING \"$@\""; ${CCOM}
+DYNLD= @echo " ==> LINKING dynamic library \"$@\""; ${CCOM}
RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib
ARFLAGS= cr
LORDER= lorder
TSORT= tsort
RMDEP= :
-MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); gcc -M
+MKDEP= @echo " ==> MAKE DEPENDENCIES \"$@\""; $(RMDEP); ${CCOM} -M
MKDEP_OUT=