Fixed compiler LDFLAGS
This commit is contained in:
parent
ea27f1fd97
commit
52c81732c4
1
configure
vendored
1
configure
vendored
@ -1763,6 +1763,7 @@ _ACEOF
|
||||
|
||||
SYSTEM="`uname -s`"
|
||||
CPU="`uname -m`"
|
||||
LDFLAGS="-I /usr/local/include"
|
||||
|
||||
# Extract the first word of "gmake", so it can be a program name with args.
|
||||
set dummy gmake; ac_word=$2
|
||||
|
@ -40,6 +40,7 @@ AC_DEFINE_UNQUOTED(SHORTRIGHT, "$SHORTRIGHT")
|
||||
AC_SUBST(VERSION)
|
||||
SYSTEM="`uname -s`"
|
||||
CPU="`uname -m`"
|
||||
LDFLAGS="-I /usr/local/include"
|
||||
|
||||
dnl
|
||||
dnl Checks for programs.
|
||||
|
@ -12,7 +12,7 @@ OTHER = Makefile header.txt footer.txt \
|
||||
#####################################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all:
|
||||
|
||||
|
@ -51,7 +51,7 @@ SLIBS = ../lib/libmbse.a
|
||||
#############################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all: ${TARGET}
|
||||
|
||||
|
@ -38,7 +38,7 @@ TARGET = mbcico mbout
|
||||
#############################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all: ${TARGET}
|
||||
|
||||
|
@ -54,7 +54,7 @@ TARGET = mbfido mbseq mbaff mbindex mbdiff mbfile mbmsg
|
||||
####################################################################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all: ${TARGET}
|
||||
|
||||
|
@ -13,7 +13,7 @@ OTHER = Makefile
|
||||
#############################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all: mbmon
|
||||
|
||||
|
@ -15,7 +15,7 @@ OTHER = Makefile
|
||||
#############################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all: mbnntp
|
||||
|
||||
|
@ -41,7 +41,7 @@ TARGET = mbsebbs mbnewusr
|
||||
#############################################################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all: ${TARGET}
|
||||
|
||||
|
@ -28,7 +28,7 @@ OTHER = Makefile
|
||||
#############################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all: mbsetup
|
||||
|
||||
|
@ -19,7 +19,7 @@ OTHER = Makefile issue issue.netbsd
|
||||
#############################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all: mbtask
|
||||
|
||||
|
@ -24,7 +24,7 @@ TARGET = mball mblang mbstat mbtoberep mbuser mbbw
|
||||
#############################################################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all: ${TARGET}
|
||||
|
||||
|
@ -24,7 +24,7 @@ TARGET = mbuseradd mbpasswd mblogin
|
||||
#############################################################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all: ${TARGET}
|
||||
|
||||
|
Reference in New Issue
Block a user