blob: 9590a6339f953282a8bb985880e884a25b042821 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
$NetBSD: patch-ac,v 1.1 2003/07/10 08:03:58 jtb Exp $
--- Makefile.in.orig
+++ Makefile.in
@@ -48,7 +48,7 @@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
+CFLAGS = @CFLAGS@ @SHLIB_CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
@@ -77,6 +77,7 @@
LIB_SPECS = @LIB_SPECS@
LTLIBOBJS = @LTLIBOBJS@
M4 = @M4@
+RM ?= rm -f
# Man page
M4_DEFS = @M4_DEFS@ @DEFS@
@@ -748,7 +749,7 @@
lib/tcl/xcircuit${SHDLIB_EXT}: xcwrap.o ${xcircuit_OBJECTS}
$(RM) lib/xcircuit${SHDLIB_EXT}
- $(CC) ${CFLAGS} -o $@ ${LDDL_FLAGS} xcwrap.o ${xcircuit_OBJECTS} \
+ $(CC) ${CFLAGS} -o $@ ${LDDL_FLAGS} ${LDFLAGS} xcwrap.o ${xcircuit_OBJECTS} \
${X_LIBS} ${X_EXTRA_LIBS} ${EXTRA_LIBS} -lc ${LIBS}
tcl: lib/tcl/xcircuit${SHDLIB_EXT}
|