mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
- handle all gcc-4.x for the softfloat case.
This commit is contained in:
parent
ec150063ed
commit
5039913554
@ -22,6 +22,7 @@ endif
|
|||||||
ifeq ($(strip $(BR2_GCC_USE_SJLJ_EXCEPTIONS)),y)
|
ifeq ($(strip $(BR2_GCC_USE_SJLJ_EXCEPTIONS)),y)
|
||||||
GCC_USE_SJLJ_EXCEPTIONS:=--enable-sjlj-exceptions
|
GCC_USE_SJLJ_EXCEPTIONS:=--enable-sjlj-exceptions
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_SOFT_FLOAT),y)
|
ifeq ($(BR2_SOFT_FLOAT),y)
|
||||||
# gcc 3.4.x soft float configuration is different than previous versions.
|
# gcc 3.4.x soft float configuration is different than previous versions.
|
||||||
ifeq ($(findstring 3.4.,$(GCC_VERSION)),3.4.)
|
ifeq ($(findstring 3.4.,$(GCC_VERSION)),3.4.)
|
||||||
@ -30,10 +31,7 @@ else
|
|||||||
SOFT_FLOAT_CONFIG_OPTION:=--without-float
|
SOFT_FLOAT_CONFIG_OPTION:=--without-float
|
||||||
endif
|
endif
|
||||||
# again... there must be a better way
|
# again... there must be a better way
|
||||||
ifeq ($(findstring 4.0.,$(GCC_VERSION)),4.0.)
|
ifeq ($(findstring 4.,$(GCC_VERSION)),4.)
|
||||||
SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
|
|
||||||
endif
|
|
||||||
ifeq ($(findstring 4.1.,$(GCC_VERSION)),4.1.)
|
|
||||||
SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
|
SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
|
||||||
endif
|
endif
|
||||||
TARGET_SOFT_FLOAT:=-msoft-float
|
TARGET_SOFT_FLOAT:=-msoft-float
|
||||||
|
Loading…
x
Reference in New Issue
Block a user