summaryrefslogtreecommitdiffstats
path: root/innbbsd
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-06-29 15:39:52 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-06-29 15:39:52 +0800
commit8ccbb616dd0471aca56c5fafc4612011876d6772 (patch)
tree14b65e8ebe481f3ff1bfad81a1d3f585e99c2698 /innbbsd
parentec1c94c5dd76df278b9d99e583c325c6baec989d (diff)
downloadpttbbs-8ccbb616dd0471aca56c5fafc4612011876d6772.tar
pttbbs-8ccbb616dd0471aca56c5fafc4612011876d6772.tar.gz
pttbbs-8ccbb616dd0471aca56c5fafc4612011876d6772.tar.bz2
pttbbs-8ccbb616dd0471aca56c5fafc4612011876d6772.tar.lz
pttbbs-8ccbb616dd0471aca56c5fafc4612011876d6772.tar.xz
pttbbs-8ccbb616dd0471aca56c5fafc4612011876d6772.tar.zst
pttbbs-8ccbb616dd0471aca56c5fafc4612011876d6772.zip
Fix some compile warning and make error.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2099 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd')
-rw-r--r--innbbsd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/innbbsd/Makefile b/innbbsd/Makefile
index b5b077ec..9bb71f52 100644
--- a/innbbsd/Makefile
+++ b/innbbsd/Makefile
@@ -40,7 +40,7 @@ CFLAGS+= -c -I. -I$(BBS_SRC)/include -I$(BBS_SRC)/mbbsd -D$(BBS_DEP) \
$(EXTRAFLAGS) -DDBZDEBUG -DBBSHOME='"$(BBSHOME)"' \
-D_PATH_BBSHOME=\"$(BBSHOME)\" \
-DVERSION=\"$(VERSION)\" -DADMINUSER=\"$(ADMINUSER)\"
-LDFLAGS+= -liconv
+#LDFLAGS+= -L/usr/local/lib
#
####################################################
@@ -96,7 +96,7 @@ solaris:
@$(MAKE) EXTRAFLAGS="-DMMAP -DSOLARIS -DSYSV" LDFLAGS="-lsocket -lnsl" YACC="bison -y" target
FreeBSD:
- @$(MAKE) CC=cc EXTRAFLAGS="-DBSD44 -DMMAP -DGETRUSAGE" LIBCRYPT=-lcrypt target
+ @$(MAKE) CC=cc EXTRAFLAGS="-DBSD44 -DMMAP -DGETRUSAGE" LDFLAGS="-lcrypt -liconv" target
bsd:
@$(MAKE) CC=cc EXTRAFLAGS="-DMMAP -DGETRUSAGE" target