summaryrefslogtreecommitdiff
path: root/sys/compat/common/Makefile.inc
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-03-03 05:26:24 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-03-03 05:26:24 +0000
commit88d8bf86c4c259df28601e5cd67e685e0b194e39 (patch)
tree581d26fe4892a39c002e78eb4b8c80bc3c3c2fd4 /sys/compat/common/Makefile.inc
parentbf89224bb30aa7a4d88082a4aeab7fb48c90e8ce (diff)
Makefiles seemed to be broken a bit, i don't even
know how it happens to work still ... probably nobody rebuilt libcompat.a. Fron NetBSD: kern_info_*.c, seemed to be a bug fix.
Diffstat (limited to 'sys/compat/common/Makefile.inc')
-rw-r--r--sys/compat/common/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/common/Makefile.inc b/sys/compat/common/Makefile.inc
index 4e5a5f9b4c4..032e72e56b5 100644
--- a/sys/compat/common/Makefile.inc
+++ b/sys/compat/common/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.2 1996/02/26 23:26:49 niklas Exp $
+# $OpenBSD: Makefile.inc,v 1.3 1996/03/03 05:26:22 mickey Exp $
# $NetBSD: Makefile.inc,v 1.3 1996/02/02 20:34:44 mycroft Exp $
#
# NOTE: $S must correspond to the top of the 'sys' tree
@@ -12,7 +12,7 @@ COMPATLIB_PROF= ${COMPATDST}/libcompat_p.a
COMPATMAKE= \
cd ${COMPATDST} && ${MAKE} -f ${COMPATREL}${COMPATDIR}/Makefile \
- CC="${CC}" CFLAGS="${CFLAGS}" \
+ CC="${CC}" CFLAGS="${CFLAGS:S/-I./-I${COMPATREL}./g}" \
LD="${LD}" \
COMPATCPPFLAGS="${CPPFLAGS}" \
COMPATREL="${COMPATREL}" \