summaryrefslogtreecommitdiff
path: root/lib/libc/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-09-13 14:21:47 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-09-13 14:21:47 +0000
commit8c534526dcb65eb2ebbc529149ea71f430775289 (patch)
tree3ea3f17033c93702194dc003af2aac5c74bd24f8 /lib/libc/arch
parent8c35688919ebefc840ae6141c15888c6c492aa0a (diff)
Uses angle brackets to include softfloat.h, and add the proper directory to
CFLAGS. ok guenther@
Diffstat (limited to 'lib/libc/arch')
-rw-r--r--lib/libc/arch/arm/softfloat/Makefile.inc3
-rw-r--r--lib/libc/arch/sh/softfloat/Makefile.inc3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/arch/arm/softfloat/Makefile.inc b/lib/libc/arch/arm/softfloat/Makefile.inc
index 3712e91ed82..71f0b698d08 100644
--- a/lib/libc/arch/arm/softfloat/Makefile.inc
+++ b/lib/libc/arch/arm/softfloat/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.3 2011/07/05 05:13:21 drahn Exp $
+# $OpenBSD: Makefile.inc,v 1.4 2015/09/13 14:21:46 miod Exp $
SRCS += eqdf2.c eqsf2.c fpgetmask.c fpgetround.c fpgetsticky.c fpsetmask.c
SRCS += fpsetround.c fpsetsticky.c gedf2.c gesf2.c gtdf2.c gtsf2.c ledf2.c
SRCS += lesf2.c ltdf2.c ltsf2.c nedf2.c negdf2.c negsf2.c nesf2.c
@@ -6,5 +6,6 @@ SRCS += lesf2.c ltdf2.c ltsf2.c nedf2.c negdf2.c negsf2.c nesf2.c
SRCS += unorddf2.c unordsf2.c
SRCS += softfloat.c
CFLAGS += -DSOFTFLOAT_FOR_GCC
+CFLAGS += -I${LIBCSRCDIR}/softfloat
.PATH: ${.CURDIR}/softfloat
diff --git a/lib/libc/arch/sh/softfloat/Makefile.inc b/lib/libc/arch/sh/softfloat/Makefile.inc
index c945a737796..45115612419 100644
--- a/lib/libc/arch/sh/softfloat/Makefile.inc
+++ b/lib/libc/arch/sh/softfloat/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.1 2006/11/07 14:07:13 drahn Exp $
+# $OpenBSD: Makefile.inc,v 1.2 2015/09/13 14:21:46 miod Exp $
SRCS += eqdf2.c eqsf2.c fpgetmask.c fpgetround.c fpgetsticky.c fpsetmask.c
SRCS += fpsetround.c fpsetsticky.c gedf2.c gesf2.c gtdf2.c gtsf2.c ledf2.c
SRCS += lesf2.c ltdf2.c ltsf2.c nedf2.c negdf2.c negsf2.c nesf2.c
@@ -6,5 +6,6 @@ SRCS += lesf2.c ltdf2.c ltsf2.c nedf2.c negdf2.c negsf2.c nesf2.c
SRCS += unorddf2.c unordsf2.c
SRCS += softfloat.c
CFLAGS += -DSOFTFLOAT_FOR_GCC
+CFLAGS += -I${LIBCSRCDIR}/softfloat
.PATH: ${.CURDIR}/softfloat