code: 9ferno

ref: b548687a8ed1d0a159c9d3f3f921d93bbb56908e
dir: /mkfiles/mkfile-OpenBSD-amd64/

View raw version

# until this https://reviews.llvm.org/D3853 is done, have to use gcc for -fplan9-extensions

TARGMODEL=	Posix
TARGSHTYPE=	sh
CPUS=		amd64

O=		o
OS=		o

AR=		ar
ARFLAGS=	ruvs

AS=		egcc -c
ASFLAGS=

CC=		egcc -c
CFLAGS=	-g\
		-O\
		-Wno-deprecated-declarations -Wuninitialized -Wunused -Wreturn-type -Wimplicit\
		-I$ROOT/OpenBSD/amd64/include\
		-I$ROOT/include\
 		-I/usr/X11R6/include\
		-DOPENBSD_amd64 -fno-stack-protector \
		 -fplan9-extensions 

ANSICPP=
LD=		egcc
LDFLAGS=	-L/usr/X11R6/lib

SYSLIBS=

YACC=		iyacc
YFLAGS=		-d