summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libexec/ld.so/arm/Makefile.inc4
-rw-r--r--libexec/ld.so/sh/Makefile.inc4
2 files changed, 4 insertions, 4 deletions
diff --git a/libexec/ld.so/arm/Makefile.inc b/libexec/ld.so/arm/Makefile.inc
index ad4f7cd8e28..e7fadb4275c 100644
--- a/libexec/ld.so/arm/Makefile.inc
+++ b/libexec/ld.so/arm/Makefile.inc
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile.inc,v 1.3 2011/03/12 18:53:07 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.4 2012/09/02 16:32:52 jsg Exp $
CFLAGS += -fpic -msoft-float
AFLAGS += -D_STANDALONE
-AFLAGS += -I${.CURDIR}/../../lib/libc/arch/arm
+CPPFLAGS += -I${.CURDIR}/../../lib/libc/arch/arm
SRCS+= divsi3.S
ELF_LDFLAGS+=-z nocombreloc
LIBCSRCDIR=${.CURDIR}/../../lib/libc
diff --git a/libexec/ld.so/sh/Makefile.inc b/libexec/ld.so/sh/Makefile.inc
index 4dd3fecefd3..6c78297fbb9 100644
--- a/libexec/ld.so/sh/Makefile.inc
+++ b/libexec/ld.so/sh/Makefile.inc
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile.inc,v 1.4 2008/04/03 00:13:33 drahn Exp $
+# $OpenBSD: Makefile.inc,v 1.5 2012/09/02 16:32:52 jsg Exp $
CFLAGS += -fpic
CFLAGS+=-m4-nofpu
AFLAGS += -D_STANDALONE
-AFLAGS += -I${.CURDIR}/../../lib/libc/arch/sh
+CPPFLAGS += -I${.CURDIR}/../../lib/libc/arch/sh
ELF_LDFLAGS+=-z nocombreloc
LIBCSRCDIR=${.CURDIR}/../../lib/libc
LDADD= `$(CC) -print-libgcc-file-name`