Skip to content
Snippets Groups Projects
Commit 34af67c9 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

If we're using Clang as the compiler, use it as the assembler too.

Should fix issue reported by Floffy on IRC.
parent eedd48da
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -169,10 +169,12 @@ CC ?= gcc
CCPRE ?= ${shell if [ `echo __clang__ | $(CC) -E - | grep -v '^\#'` != __clang__ ] ; then echo clang ; elif [ `echo __INTEL_COMPILER | $(CC) -E - | grep -v '^\#'` != __INTEL_COMPILER ] ; then echo icc ; else echo gcc ; fi}
ifeq ($(CCPRE),clang)
ifeq ($(CC),cc)
CXX := c++
CXX := c++
AS := cc
else
ifeq ($(CC),clang)
CXX := clang++
CXX := clang++
AS := clang
endif
endif
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment