summaryrefslogtreecommitdiffstats
path: root/make/include/gcc.defs
diff options
context:
space:
mode:
Diffstat (limited to 'make/include/gcc.defs')
-rw-r--r--make/include/gcc.defs10
1 files changed, 1 insertions, 9 deletions
diff --git a/make/include/gcc.defs b/make/include/gcc.defs
index c93d0babd..50b31f100 100644
--- a/make/include/gcc.defs
+++ b/make/include/gcc.defs
@@ -1,5 +1,5 @@
GCC.gcc = gcc
-GCC.gxx = $(dir $(GCC.gcc))$(subst gcc,g++,$(notdir $(GCC.gcc)))
+GCC.gxx = $(dir $(GCC.gcc))$(subst clang,clang++,$(subst gcc,g++,$(notdir $(GCC.gcc))))
GCC.strip = $$(if $$(filter none,$$(GCC.g)),1)
GCC.dylib = 1
@@ -9,9 +9,7 @@ GCC.H = 0
GCC.W = all
GCC.archs =
GCC.sysroot =
-GCC.ldsysroot =
GCC.minver =
-GCC.ldminver=
GCC.vis = 0
GCC.pic = 0
ifndef GCC.g
@@ -49,9 +47,7 @@ GCC.args.H = -H
GCC.args.W = -W$(1)
GCC.args.archs = -arch $(1)
GCC.args.sysroot = --sysroot=$(1)
-GCC.args.ldsysroot = -syslibroot $(1)
GCC.args.minver = -mmacosx-version-min=$(1)
-GCC.args.ldminver = -macosx_version_min $(1)
GCC.args.vis = -fvisibility=hidden
GCC.args.pic = -fPIC
GCC.args.g.none = -g0
@@ -95,9 +91,7 @@ define import.GCC
$(1).GCC.W = $$(GCC.W)
$(1).GCC.archs = $$(GCC.archs)
$(1).GCC.sysroot = $$(GCC.sysroot)
- $(1).GCC.ldsysroot = $$(GCC.ldsysroot)
$(1).GCC.minver = $$(GCC.minver)
- $(1).GCC.ldminver = $$(GCC.ldminver)
$(1).GCC.vis = $$(GCC.vis)
$(1).GCC.pic = $$(GCC.pic)
$(1).GCC.g = $$(GCC.g)
@@ -131,9 +125,7 @@ define import.GCC
$(1).GCC.args.W = $$(GCC.args.W)
$(1).GCC.args.archs = $$(GCC.args.archs)
$(1).GCC.args.sysroot = $$(GCC.args.sysroot)
- $(1).GCC.args.ldsysroot = $$(GCC.args.ldsysroot)
$(1).GCC.args.minver = $$(GCC.args.minver)
- $(1).GCC.args.ldminver = $$(GCC.args.ldminver)
$(1).GCC.args.vis = $$(GCC.args.vis)
$(1).GCC.args.pic = $$(GCC.args.pic)
$(1).GCC.args.g.none = $$(GCC.args.g.none)