blob: 41f732e1d6ee2d7cc015f6bbc16a0aa659c5c8f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-Makefile,v 1.1 2020/11/20 14:36:07 nia Exp $
Fix "unable to infer tagged configuration" errors.
--- Makefile.orig 2020-11-20 14:32:34.148457790 +0000
+++ Makefile
@@ -26,7 +26,7 @@ RM?= rm
.PHONY: all clean install
.c.lo:
- ${LIBTOOL} --mode=compile ${CC} -o $@ -c ${CFLAGS} ${CPPFLAGS} $<
+ ${LIBTOOL} --mode=compile --tag=CC ${CC} -o $@ -c ${CFLAGS} ${CPPFLAGS} $<
all: ${LIB}.la
@@ -39,5 +39,5 @@ install:
${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} ${LIB}.la ${DESTDIR}${LIBDIR}/${LIB}.la
${LIB}.la: ${OBJS}
- ${LIBTOOL} --mode=link ${CC} -o $@ ${CFLAGS} ${LDFLAGS} \
+ ${LIBTOOL} --mode=link --tag=CC ${CC} -o $@ ${CFLAGS} ${LDFLAGS} \
-rpath ${LIBDIR} -version-info ${LIB_VER} ${OBJS} ${LIBS}
|