GCC/clang: int64 routines in C
This commit is contained in:
@@ -26,7 +26,7 @@ LDFLAGS+= -T arch/${ARCH}/kernel.lds
|
||||
LDFLAGS+= -nostdlib -L/usr/lib
|
||||
CFLAGS+=-march=i386
|
||||
DPADD+= ${LIBC}
|
||||
LDADD+= -lc
|
||||
LDADD+= -lgcc -lc -lgcc
|
||||
.endif
|
||||
|
||||
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${ARCH}/include -I${MINIXSRCDIR}
|
||||
|
||||
@@ -29,6 +29,9 @@
|
||||
#endif
|
||||
#include "spinlock.h"
|
||||
|
||||
/* dummy for linking */
|
||||
char *** _penviron;
|
||||
|
||||
/* Prototype declarations for PRIVATE functions. */
|
||||
FORWARD _PROTOTYPE( void announce, (void));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user