summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-08-17 16:30:53 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-08-17 16:30:53 +0000
commit875d7e29941f42a65d1adf3f64b2b890393f9206 (patch)
tree57b2a38fe31dbecd0d499f68b098b35ab11a69c7 /Makefile
parent84e242ddb5fa9aa31c277a232f72f00bb0e9a3e5 (diff)
downloadflashrom-875d7e29941f42a65d1adf3f64b2b890393f9206.zip
flashrom-875d7e29941f42a65d1adf3f64b2b890393f9206.tar.gz
Fix compilation on Nexenta which is Ubuntu with a Solaris kernel0.9.1-rc1
Corresponding to flashrom svn r686. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stepan@coresystems.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0141bef..f8400b0 100644
--- a/Makefile
+++ b/Makefile
@@ -70,6 +70,9 @@ CONFIG_SERPROG = yes
ifeq ($(CONFIG_SERPROG), yes)
FEATURE_CFLAGS += -D'SERPROG_SUPPORT=1'
OBJS += serprog.o
+ifeq ($(OS_ARCH), SunOS)
+LIBS += -lsocket
+endif
endif
FEATURE_CFLAGS += $(shell LC_ALL=C grep -q "FTDISUPPORT := yes" .features && printf "%s" "-D'FT2232_SPI_SUPPORT=1'")
OpenPOWER on IntegriCloud