From: kettenis Date: Sat, 26 Jun 2021 14:46:48 +0000 (+0000) Subject: Use AFLAGS when building syscall stubs. Drop AINC wich isn't used. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bde8342fa15b1aa7e2c82b6c0ee725bd661853a6;p=openbsd Use AFLAGS when building syscall stubs. Drop AINC wich isn't used. ok deraadt@ --- diff --git a/libexec/ld.so/Makefile b/libexec/ld.so/Makefile index 76fb8acaa89..1fe64fdb9a2 100644 --- a/libexec/ld.so/Makefile +++ b/libexec/ld.so/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.80 2019/12/02 17:19:25 deraadt Exp $ +# $OpenBSD: Makefile,v 1.81 2021/06/26 14:46:48 kettenis Exp $ SUBDIR=ldconfig ldd MAN= ld.so.1 @@ -36,8 +36,9 @@ GEN_PREFIX=\t.file "${@:R}.c"\n\#include "SYS.h" OBJS+=dl_${_i}.o dl_${_i}.o: SYS.h printf '${GEN_PREFIX}\nDL_SYSCALL(${_i})\n' | \ - ${CC} ${DEBUG} -c -fPIC ${CFLAGS:M-[ID]*} ${CFLAGS:M-pipe} ${AINC} -P \ - -x assembler-with-cpp - ${DFLAGS} -MF ${.TARGET:R}.d -o ${.TARGET} + ${CC} ${DEBUG} -c -fPIC ${CFLAGS:M-[ID]*} ${CFLAGS:M-pipe} \ + ${AFLAGS} -P -x assembler-with-cpp - ${DFLAGS} -MF \ + ${.TARGET:R}.d -o ${.TARGET} .endfor .if (${MACHINE_ARCH} == "i386")