Ignore:
Timestamp:
Jun 30, 2020, 10:08:15 AM (5 years ago)
Author:
bird
Message:

tools/GXX*: Added _PREFIX/_SUFFIX properties to all g++ tools. Some minor fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/tools/GXX3PLAIN.kmk

    r3258 r3391  
    3535
    3636# Tool Specific Properties
    37 TOOL_GXX3PLAIN_CC  ?= gcc$(HOSTSUFF_EXE)
    38 TOOL_GXX3PLAIN_CXX ?= g++$(HOSTSUFF_EXE)
    39 TOOL_GXX3PLAIN_PCH ?= $(TOOL_GXX3PLAIN_CXX)
    40 TOOL_GXX3PLAIN_AS  ?= gcc$(HOSTSUFF_EXE)
    41 TOOL_GXX3PLAIN_AR  ?= ar$(HOSTSUFF_EXE)
    42 TOOL_GXX3PLAIN_RANLIB ?= ranlib$(HOSTSUFF_EXE)
    43 TOOL_GXX3PLAIN_LD  ?= g++$(HOSTSUFF_EXE)
    44 TOOL_GXX3PLAIN_LD_SYSMOD ?= ld$(HOSTSUFF_EXE)
    45 TOOL_GXX3PLAIN_LD_SYSMOD.os2 ?= g++$(HOSTSUFF_EXE)
     37ifndef TOOL_GXX3PLAIN_PREFIX
     38 TOOL_GXX3PLAIN_PREFIX :=
     39endif
     40ifndef TOOL_GXX3PLAIN_SUFFIX
     41 TOOL_GXX3PLAIN_SUFFIX := $(HOSTSUFF_EXE)
     42endif
     43TOOL_GXX3PLAIN_CC            ?= $(TOOL_GXX3PLAIN_PREFIX)gcc$(TOOL_GXX3PLAIN_SUFFIX)
     44TOOL_GXX3PLAIN_CXX           ?= $(TOOL_GXX3PLAIN_PREFIX)g++$(TOOL_GXX3PLAIN_SUFFIX)
     45TOOL_GXX3PLAIN_PCH           ?= $(TOOL_GXX3PLAIN_CXX)
     46TOOL_GXX3PLAIN_AS            ?= $(TOOL_GXX3PLAIN_PREFIX)gcc$(TOOL_GXX3PLAIN_SUFFIX)
     47TOOL_GXX3PLAIN_AR            ?= $(TOOL_GXX3PLAIN_PREFIX)ar$(TOOL_GXX3PLAIN_SUFFIX)
     48TOOL_GXX3PLAIN_RANLIB        ?= $(TOOL_GXX3PLAIN_PREFIX)ranlib$(TOOL_GXX3PLAIN_SUFFIX)
     49TOOL_GXX3PLAIN_LD            ?= $(TOOL_GXX3PLAIN_PREFIX)g++$(TOOL_GXX3PLAIN_SUFFIX)
     50TOOL_GXX3PLAIN_LD_SYSMOD     ?= $(TOOL_GXX3PLAIN_PREFIX)ld$(TOOL_GXX3PLAIN_SUFFIX)
     51TOOL_GXX3PLAIN_LD_SYSMOD.os2 ?= $(TOOL_GXX3PLAIN_PREFIX)g++$(TOOL_GXX3PLAIN_SUFFIX)
    4652TOOL_GXX3PLAIN_LDFLAGS.dll.os2 ?= -Zdll
    4753TOOL_GXX3PLAIN_LDFLAGS.dll.darwin ?= -dynamiclib
Note: See TracChangeset for help on using the changeset viewer.