浏览代码

- fixed LIBS in SunOS Makefile part
- added special case for SunOS in print/Makefile (other LDFLAGS, -G required)

Andrei Pelinescu-Onciul 24 年之前
父节点
当前提交
66fe760d27
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Makefile

+ 2 - 1
Makefile

@@ -45,7 +45,8 @@ ifeq  ($(ARCH), SunOS)
 
 MAKE=gmake
 YACC=yacc
-LIBS=$(LIBS) -L/usr/local/lib -lxnet # or -lnsl -lsocket or -lglibc ?
+LDFLAGS=-O2
+LIBS+=-L/usr/local/lib -lxnet # or -lnsl -lsocket or -lglibc ?
 
 endif
 ifeq ($(ARCH), FreeBSD)