Try to fix Linux build

svn path=/trunk/; revision=29372
This commit is contained in:
Hervé Poussineau 2007-10-03 11:24:56 +00:00
parent 254bdce1b8
commit d0ae8b7806

View file

@ -276,9 +276,13 @@ host_objcopy = $(Q)objcopy
# Set target compiler/linker # Set target compiler/linker
ifneq ($(ROS_PREFIX),) ifneq ($(ROS_PREFIX),)
PREFIX_ := $(ROS_PREFIX)- PREFIX_ := $(ROS_PREFIX)-
else
ifeq ($(HOST),mingw32-linux)
PREFIX_ := mingw32-
else else
PREFIX_ := PREFIX_ :=
endif endif
endif
ifeq ($(TARGET_CC),) ifeq ($(TARGET_CC),)
TARGET_CC = $(PREFIX_)gcc TARGET_CC = $(PREFIX_)gcc
endif endif