diff options
| author | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-03-24 21:48:10 +0000 |
|---|---|---|
| committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-03-24 21:48:10 +0000 |
| commit | de0fbc4dbca2c18bcb7bca1f1f2fe56fcf5ba2a8 (patch) | |
| tree | 7006fe4401ba251c909de520a7b1217d9de5fcb0 /lib/csu | |
| parent | 37a8c977c48edb393c9e3d5b9afedeb36e5dff8c (diff) | |
Notes
Diffstat (limited to 'lib/csu')
| -rw-r--r-- | lib/csu/powerpc64/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/csu/powerpc64/Makefile b/lib/csu/powerpc64/Makefile index 09b643e1b3ad..a97ef1ef3e40 100644 --- a/lib/csu/powerpc64/Makefile +++ b/lib/csu/powerpc64/Makefile @@ -13,8 +13,11 @@ CFLAGS+= -I${.CURDIR}/../common \ # clang doesn't support -mlongcall, and testing shows a clang linked with a # clang-built csu segfaults, this must currently be compiled with gcc. Once # clang supports -mlongcall, or we get a fixed ld, this can be revisited. +.include <bsd.compiler.mk> +.if ${COMPILER_TYPE} != "gcc" CC:= gcc COMPILER_TYPE:= gcc +.endif FILES= ${OBJS} FILESMODE= ${LIBMODE} |
