]> Zhao Yanbai Git Server - minix.git/commitdiff
APFS: fix link issue when compiling with Clang
authorThomas Veerman <thomas@minix3.org>
Thu, 2 Feb 2012 15:00:01 +0000 (15:00 +0000)
committerThomas Veerman <thomas@minix3.org>
Thu, 2 Feb 2012 15:00:01 +0000 (15:00 +0000)
servers/apfs/Makefile

index 6c6cbe4d7fb7fd9bdac5223acdd814f268741dc8..18f5305f5ec2afe2d27f8582ced7e3e83224f064 100644 (file)
@@ -7,6 +7,10 @@ SRCS=  open.c table.c inode.c main.c super.c link.c \
 DPADD+=        ${LIBSYS}
 LDADD+=        -lsys
 
+.if ${COMPILER_TYPE} == "gnu"
+LDADD+= -lc
+.endif
+
 MAN=
 
 BINDIR?= /usr/sbin