summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/gasp/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/gasp/Makefile b/gnu/usr.bin/binutils/gasp/Makefile
index aad9355..6369d19 100644
--- a/gnu/usr.bin/binutils/gasp/Makefile
+++ b/gnu/usr.bin/binutils/gasp/Makefile
@@ -5,12 +5,16 @@
.PATH: ${SRCDIR}/gas
PROG= gasp
-SRCS+= gasp.c macro.c sb.c hash.c
+SRCS+= gasp+%FIXED.c macro.c sb.c hash.c
WARNS= 2
CFLAGS+= -DBFD_ASSEMBLER
-CFLAGS+= -I${SRCDIR} -I${SRCDIR}/gas -I${SRCDIR}/gas/config
CFLAGS+= -I${.CURDIR}/../as/${TARGET_ARCH}-freebsd -I${.CURDIR}/../as
+CFLAGS+= -I${.CURDIR}
+CFLAGS+= -I${SRCDIR} -I${SRCDIR}/gas -I${SRCDIR}/gas/config
DPADD= ${RELTOP}/libiberty/libiberty.a
LDADD= ${DPADD}
+gasp+%FIXED.c: gasp.c
+ sed -e 's|xregex\.h|gnuregex.h|g' ${.ALLSRC} >${.TARGET}
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud