obsd-kernel-opts-20070317
authorJim Rees <rees@umich.edu>
Sat, 17 Mar 2007 18:20:15 +0000 (18:20 +0000)
committerJim Rees <rees@umich.edu>
Sat, 17 Mar 2007 18:20:15 +0000 (18:20 +0000)
adjust module compile opts (KOPTS) to better match those of the kernel

src/libafs/MakefileProto.OBSD.in

index 4e870e2..af63407 100644 (file)
@@ -16,7 +16,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
 # System specific build commands and flags
 KSRC = @BSD_KERNEL_PATH@
-KFLAGS= -Wall -nostdinc
+KFLAGS= -Wall -march=i486 -fno-builtin-printf -fno-builtin-log -nostdinc
 <i386_obsd33>
 KFLAGS+= -fno-stack-protector
 <all>