Skip to content
Snippets Groups Projects
Commit 9c328871 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 84475364
No related branches found
No related tags found
No related merge requests found
Pipeline #5188 failed
......@@ -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