Mercurial > hg > beaglert
comparison Makefile @ 295:e63d35c6ae96 prerelease
Defaulting to gcc compiler (see #1695), updates to build_pd_heavy to make it compile with the new Makefile
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Wed, 25 May 2016 00:18:37 +0100 |
parents | 4815ed0f21de |
children | e4392164b458 |
comparison
equal
deleted
inserted
replaced
293:9e5156589124 | 295:e63d35c6ae96 |
---|---|
44 CPP_FLAGS := -O3 -march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon -ftree-vectorize | 44 CPP_FLAGS := -O3 -march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon -ftree-vectorize |
45 C_FLAGS := $(CPP_FLAGS) | 45 C_FLAGS := $(CPP_FLAGS) |
46 | 46 |
47 ifndef COMPILER | 47 ifndef COMPILER |
48 # check whether clang is installed | 48 # check whether clang is installed |
49 TEST_COMPILER := $(shell which clang) | 49 # TEST_COMPILER := $(shell which clang) |
50 ifneq ($(strip $(TEST_COMPILER)), ) | 50 # ifneq ($(strip $(TEST_COMPILER)), ) |
51 # if it is installed, use it | 51 # if it is installed, use it |
52 COMPILER := clang | 52 # COMPILER := clang |
53 else | 53 # else |
54 COMPILER := gcc | 54 COMPILER := gcc |
55 endif | 55 # endif |
56 endif | 56 endif |
57 | 57 |
58 ifeq ($(COMPILER), clang) | 58 ifeq ($(COMPILER), clang) |
59 CC=clang | 59 CC=clang |
60 CXX=clang++ | 60 CXX=clang++ |