1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5CRTARCH=${MACHINE_CPUARCH:C/amd64/x86_64/} 6CRTSRC=${.CURDIR}/../../../contrib/compiler-rt 7 8LIBDIR=/usr/lib/clang/3.6.0/lib/freebsd 9 10NO_PIC= 11MK_PROFILE=no 12 13WARNS?=0 14 15SSP_CFLAGS= 16CFLAGS+=-DNDEBUG 17CFLAGS+=${PICFLAG} 18CFLAGS+=-fno-builtin 19CFLAGS+=-fno-exceptions 20CFLAGS+=-fno-rtti 21CFLAGS+=-fno-stack-protector 22CFLAGS+=-funwind-tables 23CFLAGS+=-fvisibility-inlines-hidden 24CFLAGS+=-fvisibility=hidden 25CFLAGS+=-I${CRTSRC}/lib 26CXXFLAGS+=-std=c++11 27