]> Zhao Yanbai Git Server - minix.git/commitdiff
minix.libc.mk: simpler netbsd libc invocation
authorBen Gras <ben@minix3.org>
Tue, 28 Jun 2011 15:17:44 +0000 (17:17 +0200)
committerBen Gras <ben@minix3.org>
Tue, 28 Jun 2011 15:17:44 +0000 (17:17 +0200)
  . startup files being mentioned explicitly confuses libtool

share/mk/minix.libc.mk

index 8d1864c19136f2058c4adf7d7a8ecfe1d5baf3b7..9ed8619f3532580b76f01bb5ed66e80baa45ece7 100644 (file)
@@ -1,7 +1,6 @@
 # NetBSD libc flags go here
-NETBSD_LIBC_CPPFLAGS=-nostdinc -D__NBSD_LIBC -isystem /usr/netbsd/include
-NETBSD_LIBC_LDFLAGS=-nostdlib /usr/netbsd/lib/crt1.o /usr/netbsd/lib/crti.o /usr/netbsd/lib/crtn.o -L/usr/netbsd/lib -lc -L/usr/pkg/lib -lgcc -L/usr/netbsd/lib -lminlib -lcompat_minix
-
+NETBSD_LIBC_CPPFLAGS=-B/usr/netbsd -D__NBSD_LIBC
+NETBSD_LIBC_LDFLAGS=-B/usr/netbsd:/usr/netbsd/lib -lminlib -lcompat_minix
 # Minix libc flags go here
 MINIX_LIBC_CPPFLAGS=
 MINIX_LIBC_LDFLAGS=