]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/clang/Makefile.inc
amd64: use register macros for gdb_cpu_getreg()
[FreeBSD/FreeBSD.git] / usr.bin / clang / Makefile.inc
1 # $FreeBSD$
2
3 WARNS?=         0
4
5 .include <bsd.compiler.mk>
6
7 MK_PIE:=        no      # Explicit libXXX.a references
8
9 .if ${COMPILER_TYPE} == "clang"
10 DEBUG_FILES_CFLAGS= -gline-tables-only
11 .else
12 DEBUG_FILES_CFLAGS= -g1
13 .endif
14
15 .if ${MACHINE_ARCH:Mmips*} && ${MACHINE_ARCH:Mmips64*} == ""
16 CFLAGS+= -mxgot
17 CXXFLAGS+= -mxgot
18 .endif
19
20 .include "../Makefile.inc"